<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Win32k: connect.c 文件参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Win32k
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('a00062.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#nested-classes">结构体</a> &#124;
<a href="#define-members">宏定义</a> &#124;
<a href="#typedef-members">类型定义</a> &#124;
<a href="#func-members">函数</a> &#124;
<a href="#var-members">变量</a>  </div>
  <div class="headertitle">
<div class="title">connect.c 文件参考</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="a03620_source.html">precomp.h</a>&quot;</code><br />
<code>#include &quot;nddeagnt.h&quot;</code><br />
</div>
<p><a href="a00062_source.html">浏览源代码.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
结构体</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01809.html">tagINIT_ENUM</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
宏定义</h2></td></tr>
<tr class="memitem:a6989104e037ecc4ac73d9973485bab1f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00062.html#a6989104e037ecc4ac73d9973485bab1f">ValidateConvList</a>(h)</td></tr>
<tr class="separator:a6989104e037ecc4ac73d9973485bab1f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acb7fd842bb474c0aa48bd43f3ebd9b94"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00062.html#acb7fd842bb474c0aa48bd43f3ebd9b94">ValidateAllConvLists</a>()</td></tr>
<tr class="separator:acb7fd842bb474c0aa48bd43f3ebd9b94"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4863a189f653fed31e8bf9837bdb0b47"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00062.html#a4863a189f653fed31e8bf9837bdb0b47">ORPATH</a>(x)</td></tr>
<tr class="separator:a4863a189f653fed31e8bf9837bdb0b47"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
类型定义</h2></td></tr>
<tr class="memitem:a9b3731c0282f0eae1f6f320952472831"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="a01809.html">tagINIT_ENUM</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00062.html#a9b3731c0282f0eae1f6f320952472831">INIT_ENUM</a></td></tr>
<tr class="separator:a9b3731c0282f0eae1f6f320952472831"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a752314be896cd65a53a40b1151757a3f"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="a01809.html">tagINIT_ENUM</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00062.html#a752314be896cd65a53a40b1151757a3f">PINIT_ENUM</a></td></tr>
<tr class="separator:a752314be896cd65a53a40b1151757a3f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
函数</h2></td></tr>
<tr class="memitem:a4b09979005f69e3a080c39d654040eb5"><td class="memItemLeft" align="right" valign="top">BOOL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00062.html#a4b09979005f69e3a080c39d654040eb5">InitiateEnumerationProc</a> (HWND hwndTarget, <a class="el" href="a00062.html#a752314be896cd65a53a40b1151757a3f">PINIT_ENUM</a> pie)</td></tr>
<tr class="separator:a4b09979005f69e3a080c39d654040eb5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a205c36f2db983e08bc2c9690c6a1b269"><td class="memItemLeft" align="right" valign="top">VOID&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00062.html#a205c36f2db983e08bc2c9690c6a1b269">DisconnectConv</a> (<a class="el" href="a00086.html#ac204a6b912ffd4404bb455e0f78d527e">PCONV_INFO</a> pcoi)</td></tr>
<tr class="separator:a205c36f2db983e08bc2c9690c6a1b269"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae4845fe4c102fc02c40c557a18e9a6f4"><td class="memItemLeft" align="right" valign="top">HCONV&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00062.html#ae4845fe4c102fc02c40c557a18e9a6f4">DdeConnect</a> (<a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a> idInst, HSZ hszService, HSZ hszTopic, PCONVCONTEXT pCC)</td></tr>
<tr class="separator:ae4845fe4c102fc02c40c557a18e9a6f4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a128fb6aea36a3169b9bcec9c8d32a0de"><td class="memItemLeft" align="right" valign="top">HCONVLIST&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00062.html#a128fb6aea36a3169b9bcec9c8d32a0de">DdeConnectList</a> (<a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a> idInst, HSZ hszService, HSZ hszTopic, HCONVLIST hConvList, PCONVCONTEXT pCC)</td></tr>
<tr class="separator:a128fb6aea36a3169b9bcec9c8d32a0de"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a27a5ac8e9656241050179b8016cad354"><td class="memItemLeft" align="right" valign="top">HCONV&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00062.html#a27a5ac8e9656241050179b8016cad354">DdeReconnect</a> (HCONV hConv)</td></tr>
<tr class="separator:a27a5ac8e9656241050179b8016cad354"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a40329f973a119a2a8109a08379b5e0c6"><td class="memItemLeft" align="right" valign="top">BOOL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00062.html#a40329f973a119a2a8109a08379b5e0c6">ValidateConnectParameters</a> (HANDLE hInst, <a class="el" href="a00086.html#af3e1f90b1c4f51b56c010009ceac2ddb">PCL_INSTANCE_INFO</a> *ppcii, HSZ *phszService, HSZ hszTopic, <a class="el" href="a00086.html#afb884b9e2fb48a9b845acffcb306c059">LATOM</a> *plaNormalSvcName, PCONVCONTEXT *ppCC, HWND *phwndTarget, HCONVLIST hConvList)</td></tr>
<tr class="separator:a40329f973a119a2a8109a08379b5e0c6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad714b9dfd0100246ad2ae128fec95f98"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00086.html#a3dc39629249824029407d9b5954b34f5">PCL_CONV_INFO</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00062.html#ad714b9dfd0100246ad2ae128fec95f98">ConnectConv</a> (<a class="el" href="a00086.html#af3e1f90b1c4f51b56c010009ceac2ddb">PCL_INSTANCE_INFO</a> pcii, <a class="el" href="a00086.html#afb884b9e2fb48a9b845acffcb306c059">LATOM</a> laService, <a class="el" href="a00086.html#afb884b9e2fb48a9b845acffcb306c059">LATOM</a> laTopic, HWND hwndTarget, HWND hwndSkip, PCONVCONTEXT pCC, HCONVLIST hConvList, <a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a> clst)</td></tr>
<tr class="separator:ad714b9dfd0100246ad2ae128fec95f98"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a51d9bfa110e39a8388cb2fcb52a79e56"><td class="memItemLeft" align="right" valign="top">VOID&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00062.html#a51d9bfa110e39a8388cb2fcb52a79e56">SetCommonStateFlags</a> (HWND hwndUs, HWND hwndThem, PWORD pwFlags)</td></tr>
<tr class="separator:a51d9bfa110e39a8388cb2fcb52a79e56"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaafc909293cd4346783a2887c3be89f6"><td class="memItemLeft" align="right" valign="top">HCONV&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00062.html#aaafc909293cd4346783a2887c3be89f6">DdeQueryNextServer</a> (HCONVLIST hConvList, HCONV hConvPrev)</td></tr>
<tr class="separator:aaafc909293cd4346783a2887c3be89f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac461c71baba4494051ddde72c4cdc022"><td class="memItemLeft" align="right" valign="top">BOOL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00062.html#ac461c71baba4494051ddde72c4cdc022">DdeDisconnect</a> (HCONV hConv)</td></tr>
<tr class="separator:ac461c71baba4494051ddde72c4cdc022"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad6a7a258d85610ea92390d4baf13c0c5"><td class="memItemLeft" align="right" valign="top">BOOL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00062.html#ad6a7a258d85610ea92390d4baf13c0c5">DdeDisconnectList</a> (HCONVLIST hConvList)</td></tr>
<tr class="separator:ad6a7a258d85610ea92390d4baf13c0c5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a38e37b3579fd0f62bdd704ec10cd472f"><td class="memItemLeft" align="right" valign="top">VOID&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00062.html#a38e37b3579fd0f62bdd704ec10cd472f">ShutdownConversation</a> (<a class="el" href="a00086.html#ac204a6b912ffd4404bb455e0f78d527e">PCONV_INFO</a> pcoi, BOOL fMakeCallback)</td></tr>
<tr class="separator:a38e37b3579fd0f62bdd704ec10cd472f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4f08398a693326d9465a9c9d3be108ff"><td class="memItemLeft" align="right" valign="top">VOID&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00062.html#a4f08398a693326d9465a9c9d3be108ff">UnlinkConvFromOthers</a> (<a class="el" href="a00086.html#ac204a6b912ffd4404bb455e0f78d527e">PCONV_INFO</a> pcoi, BOOL gGoingZombie)</td></tr>
<tr class="separator:a4f08398a693326d9465a9c9d3be108ff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a28bd8df0f53bb221fb21ec9650866ee8"><td class="memItemLeft" align="right" valign="top">VOID&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00062.html#a28bd8df0f53bb221fb21ec9650866ee8">FreeConversationResources</a> (<a class="el" href="a00086.html#ac204a6b912ffd4404bb455e0f78d527e">PCONV_INFO</a> pcoi)</td></tr>
<tr class="separator:a28bd8df0f53bb221fb21ec9650866ee8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4f157f2b74fc2425df35faf70c483364"><td class="memItemLeft" align="right" valign="top">BOOL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00062.html#a4f157f2b74fc2425df35faf70c483364">WaitForZombieTerminate</a> (HANDLE hData)</td></tr>
<tr class="separator:a4f157f2b74fc2425df35faf70c483364"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
变量</h2></td></tr>
<tr class="memitem:a8aed2ad56557545e2f1dec7d3d942f2e"><td class="memItemLeft" align="right" valign="top">CONVCONTEXT&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00062.html#a8aed2ad56557545e2f1dec7d3d942f2e">TempConvContext</a></td></tr>
<tr class="separator:a8aed2ad56557545e2f1dec7d3d942f2e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:addc35586476828be0ae63df36451855f"><td class="memItemLeft" align="right" valign="top">CONVCONTEXT&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00062.html#addc35586476828be0ae63df36451855f">DefConvContext</a></td></tr>
<tr class="separator:addc35586476828be0ae63df36451855f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">宏定义说明</h2>
<a id="a4863a189f653fed31e8bf9837bdb0b47"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4863a189f653fed31e8bf9837bdb0b47">&#9670;&nbsp;</a></span>ORPATH</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ORPATH</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">x</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="acb7fd842bb474c0aa48bd43f3ebd9b94"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acb7fd842bb474c0aa48bd43f3ebd9b94">&#9670;&nbsp;</a></span>ValidateAllConvLists</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ValidateAllConvLists</td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00062_source.html">connect.c</a> 第 <a class="el" href="a00062_source.html#l00101">101</a> 行定义.</p>

</div>
</div>
<a id="a6989104e037ecc4ac73d9973485bab1f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6989104e037ecc4ac73d9973485bab1f">&#9670;&nbsp;</a></span>ValidateConvList</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ValidateConvList</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">h</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00062_source.html">connect.c</a> 第 <a class="el" href="a00062_source.html#l00100">100</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">类型定义说明</h2>
<a id="a9b3731c0282f0eae1f6f320952472831"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9b3731c0282f0eae1f6f320952472831">&#9670;&nbsp;</a></span>INIT_ENUM</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef struct <a class="el" href="a01809.html">tagINIT_ENUM</a> <a class="el" href="a00062.html#a9b3731c0282f0eae1f6f320952472831">INIT_ENUM</a></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a752314be896cd65a53a40b1151757a3f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a752314be896cd65a53a40b1151757a3f">&#9670;&nbsp;</a></span>PINIT_ENUM</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef struct <a class="el" href="a01809.html">tagINIT_ENUM</a> * <a class="el" href="a00062.html#a752314be896cd65a53a40b1151757a3f">PINIT_ENUM</a></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">函数说明</h2>
<a id="ad714b9dfd0100246ad2ae128fec95f98"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad714b9dfd0100246ad2ae128fec95f98">&#9670;&nbsp;</a></span>ConnectConv()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00086.html#a3dc39629249824029407d9b5954b34f5">PCL_CONV_INFO</a> ConnectConv </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00086.html#af3e1f90b1c4f51b56c010009ceac2ddb">PCL_INSTANCE_INFO</a>&#160;</td>
          <td class="paramname"><em>pcii</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00086.html#afb884b9e2fb48a9b845acffcb306c059">LATOM</a>&#160;</td>
          <td class="paramname"><em>laService</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00086.html#afb884b9e2fb48a9b845acffcb306c059">LATOM</a>&#160;</td>
          <td class="paramname"><em>laTopic</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">HWND&#160;</td>
          <td class="paramname"><em>hwndTarget</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">HWND&#160;</td>
          <td class="paramname"><em>hwndSkip</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">PCONVCONTEXT&#160;</td>
          <td class="paramname"><em>pCC</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">HCONVLIST&#160;</td>
          <td class="paramname"><em>hConvList</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>&#160;</td>
          <td class="paramname"><em>clst</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00062_source.html">connect.c</a> 第 <a class="el" href="a00062_source.html#l00605">605</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00614"></a><span class="lineno">  614</span>&#160;{</div>
<div class="line"><a name="l00615"></a><span class="lineno">  615</span>&#160;    <a class="code" href="a01809.html">INIT_ENUM</a> ie;</div>
<div class="line"><a name="l00616"></a><span class="lineno">  616</span>&#160;    <a class="code" href="a01849.html">PCL_CONV_INFO</a> pci;</div>
<div class="line"><a name="l00617"></a><span class="lineno">  617</span>&#160;    <a class="code" href="a01845.html">PCONV_INFO</a> pcoi;</div>
<div class="line"><a name="l00618"></a><span class="lineno">  618</span>&#160;    <a class="code" href="a00086.html#a94c133ba2c05e4193dd481f6ac11b2ed">GATOM</a> gaService, gaTopic;</div>
<div class="line"><a name="l00619"></a><span class="lineno">  619</span>&#160; </div>
<div class="line"><a name="l00620"></a><span class="lineno">  620</span>&#160;    <a class="code" href="a00086.html#ac64721bd6049de0997fb056a93022b8e">CheckDDECritIn</a>;</div>
<div class="line"><a name="l00621"></a><span class="lineno">  621</span>&#160; </div>
<div class="line"><a name="l00622"></a><span class="lineno">  622</span>&#160;    <span class="keywordflow">if</span> (hwndTarget &amp;&amp; hwndTarget == hwndSkip) {</div>
<div class="line"><a name="l00623"></a><span class="lineno">  623</span>&#160;        <span class="keywordflow">return</span>(NULL);</div>
<div class="line"><a name="l00624"></a><span class="lineno">  624</span>&#160;    }</div>
<div class="line"><a name="l00625"></a><span class="lineno">  625</span>&#160; </div>
<div class="line"><a name="l00626"></a><span class="lineno">  626</span>&#160;    <a class="code" href="a00086.html#a3b5310e2dd6b3c42cb13fa51a1b4e254">LeaveDDECrit</a>;</div>
<div class="line"><a name="l00627"></a><span class="lineno">  627</span>&#160;    <a class="code" href="a00086.html#af4a5ecbacfdd6845c5c37342f333ace4">CheckDDECritOut</a>;</div>
<div class="line"><a name="l00628"></a><span class="lineno">  628</span>&#160; </div>
<div class="line"><a name="l00629"></a><span class="lineno">  629</span>&#160;    <span class="keywordflow">if</span> (pcii-&gt;<a class="code" href="a01841.html#aa5250ff1f63a5d1730bc299c7a96b6af">flags</a> &amp; <a class="code" href="a00086.html#a0f4016e3ebbfb4b5abedc02b893f9df5">IIF_UNICODE</a>) {</div>
<div class="line"><a name="l00630"></a><span class="lineno">  630</span>&#160;        ie.<a class="code" href="a01809.html#ad285e3a598920b58d4232596cd0a8460">hwndClient</a> = CreateWindowW((LPWSTR)(<a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#acfbb1bdf492ec9f7a21f0094adbbe948">atomSysClass</a>[ICLS_DDEMLCLIENTW]),</div>
<div class="line"><a name="l00631"></a><span class="lineno">  631</span>&#160;                                     L<span class="stringliteral">&quot;&quot;</span>,</div>
<div class="line"><a name="l00632"></a><span class="lineno">  632</span>&#160;                                     WS_CHILD,</div>
<div class="line"><a name="l00633"></a><span class="lineno">  633</span>&#160;                                     0, 0, 0, 0,</div>
<div class="line"><a name="l00634"></a><span class="lineno">  634</span>&#160;                                     pcii-&gt;<a class="code" href="a01841.html#a95c5ea2fe9e74aa8b772f13287b0ecda">hwndMother</a>,</div>
<div class="line"><a name="l00635"></a><span class="lineno">  635</span>&#160;                                     (HMENU)0,</div>
<div class="line"><a name="l00636"></a><span class="lineno">  636</span>&#160;                                     (HANDLE)0,</div>
<div class="line"><a name="l00637"></a><span class="lineno">  637</span>&#160;                                     (LPVOID)NULL);</div>
<div class="line"><a name="l00638"></a><span class="lineno">  638</span>&#160;    } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00639"></a><span class="lineno">  639</span>&#160;        ie.<a class="code" href="a01809.html#ad285e3a598920b58d4232596cd0a8460">hwndClient</a> = CreateWindowA((LPSTR)(<a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#acfbb1bdf492ec9f7a21f0094adbbe948">atomSysClass</a>[ICLS_DDEMLCLIENTA]),</div>
<div class="line"><a name="l00640"></a><span class="lineno">  640</span>&#160;                                     <span class="stringliteral">&quot;&quot;</span>,</div>
<div class="line"><a name="l00641"></a><span class="lineno">  641</span>&#160;                                     WS_CHILD,</div>
<div class="line"><a name="l00642"></a><span class="lineno">  642</span>&#160;                                     0, 0, 0, 0,</div>
<div class="line"><a name="l00643"></a><span class="lineno">  643</span>&#160;                                     pcii-&gt;<a class="code" href="a01841.html#a95c5ea2fe9e74aa8b772f13287b0ecda">hwndMother</a>,</div>
<div class="line"><a name="l00644"></a><span class="lineno">  644</span>&#160;                                     (HMENU)0,</div>
<div class="line"><a name="l00645"></a><span class="lineno">  645</span>&#160;                                     (HANDLE)0,</div>
<div class="line"><a name="l00646"></a><span class="lineno">  646</span>&#160;                                     (LPVOID)NULL);</div>
<div class="line"><a name="l00647"></a><span class="lineno">  647</span>&#160;    }</div>
<div class="line"><a name="l00648"></a><span class="lineno">  648</span>&#160; </div>
<div class="line"><a name="l00649"></a><span class="lineno">  649</span>&#160;    <a class="code" href="a00086.html#a8c66aaa58bd4b338d4f04ae07d4fb23a">EnterDDECrit</a>;</div>
<div class="line"><a name="l00650"></a><span class="lineno">  650</span>&#160; </div>
<div class="line"><a name="l00651"></a><span class="lineno">  651</span>&#160;    <span class="keywordflow">if</span> (ie.<a class="code" href="a01809.html#ad285e3a598920b58d4232596cd0a8460">hwndClient</a> == 0) {</div>
<div class="line"><a name="l00652"></a><span class="lineno">  652</span>&#160;        <span class="keywordflow">return</span> (NULL);</div>
<div class="line"><a name="l00653"></a><span class="lineno">  653</span>&#160;    }</div>
<div class="line"><a name="l00654"></a><span class="lineno">  654</span>&#160; </div>
<div class="line"><a name="l00655"></a><span class="lineno">  655</span>&#160;    <span class="keywordflow">if</span> (pCC != NULL) {</div>
<div class="line"><a name="l00656"></a><span class="lineno">  656</span>&#160;        <span class="keywordflow">if</span> (!<a class="code" href="a00362.html#ae0ffccbc3a04fe063da309751a517b62">NtUserDdeSetQualityOfService</a>(ie.<a class="code" href="a01809.html#ad285e3a598920b58d4232596cd0a8460">hwndClient</a>, &amp;(pCC-&gt;qos), NULL)) {</div>
<div class="line"><a name="l00657"></a><span class="lineno">  657</span>&#160;            <a class="code" href="a00086.html#a8b2e79f5b5173a6fbfeb65e2195720c3">SetLastDDEMLError</a>(pcii, DMLERR_MEMORY_ERROR);</div>
<div class="line"><a name="l00658"></a><span class="lineno">  658</span>&#160;            <span class="keywordflow">goto</span> Error;</div>
<div class="line"><a name="l00659"></a><span class="lineno">  659</span>&#160;        }</div>
<div class="line"><a name="l00660"></a><span class="lineno">  660</span>&#160;    }</div>
<div class="line"><a name="l00661"></a><span class="lineno">  661</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00662"></a><span class="lineno">  662</span>&#160;<span class="comment">     * Note that a pci will be created and allocated for each ACK recieved.</span></div>
<div class="line"><a name="l00663"></a><span class="lineno">  663</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00664"></a><span class="lineno">  664</span>&#160;    <a class="code" href="a00086.html#a0924c97489b4d0575965f05d497a7142">SetConvContext</a>(ie.<a class="code" href="a01809.html#ad285e3a598920b58d4232596cd0a8460">hwndClient</a>, (LONG *)pCC);</div>
<div class="line"><a name="l00665"></a><span class="lineno">  665</span>&#160;    SetWindowLong(ie.<a class="code" href="a01809.html#ad285e3a598920b58d4232596cd0a8460">hwndClient</a>, GWL_CONVSTATE, clst);</div>
<div class="line"><a name="l00666"></a><span class="lineno">  666</span>&#160;    SetWindowLong(ie.<a class="code" href="a01809.html#ad285e3a598920b58d4232596cd0a8460">hwndClient</a>, GWL_SHINST, (LONG)pcii-&gt;<a class="code" href="a01841.html#a1ad66951311fd223bf92a5be3d20ba8f">hInstServer</a>);</div>
<div class="line"><a name="l00667"></a><span class="lineno">  667</span>&#160;    SetWindowLong(ie.<a class="code" href="a01809.html#ad285e3a598920b58d4232596cd0a8460">hwndClient</a>, GWL_CHINST, (LONG)pcii-&gt;<a class="code" href="a01841.html#a6a33ca20f90febbc42166c4466d979c2">hInstClient</a>);</div>
<div class="line"><a name="l00668"></a><span class="lineno">  668</span>&#160; </div>
<div class="line"><a name="l00669"></a><span class="lineno">  669</span>&#160;    gaService = <a class="code" href="a00086.html#acf65a97e9c6a58c917c8a0c1a4209c03">LocalToGlobalAtom</a>(laService);</div>
<div class="line"><a name="l00670"></a><span class="lineno">  670</span>&#160;    gaTopic = <a class="code" href="a00086.html#acf65a97e9c6a58c917c8a0c1a4209c03">LocalToGlobalAtom</a>(laTopic);</div>
<div class="line"><a name="l00671"></a><span class="lineno">  671</span>&#160;    ie.<a class="code" href="a01809.html#aea6dbba0f7eb12aee294a96f0ed5b1b6">lParam</a> = MAKELONG(gaService, gaTopic);</div>
<div class="line"><a name="l00672"></a><span class="lineno">  672</span>&#160;    <span class="keywordflow">if</span> (!hwndTarget) {</div>
<div class="line"><a name="l00673"></a><span class="lineno">  673</span>&#160;        ie.<a class="code" href="a01809.html#abd77cb02de507336c352adb9e45f0786">hwndSkip</a> = hwndSkip;</div>
<div class="line"><a name="l00674"></a><span class="lineno">  674</span>&#160;        ie.<a class="code" href="a01809.html#a9a66c3e7ae56e5adf407e16f01a76676">laServiceRequested</a> = laService;</div>
<div class="line"><a name="l00675"></a><span class="lineno">  675</span>&#160;        ie.<a class="code" href="a01809.html#a037642095df06ec39ad1a904cc1f7c30">laTopic</a> = laTopic;</div>
<div class="line"><a name="l00676"></a><span class="lineno">  676</span>&#160;        ie.<a class="code" href="a01809.html#a18a38472c38612dfaa3a8d5bb1361008">hConvList</a> = hConvList;</div>
<div class="line"><a name="l00677"></a><span class="lineno">  677</span>&#160;        ie.<a class="code" href="a01809.html#a0984e4f735b587578cd1003d1e3deee7">clst</a> = clst;</div>
<div class="line"><a name="l00678"></a><span class="lineno">  678</span>&#160;    }</div>
<div class="line"><a name="l00679"></a><span class="lineno">  679</span>&#160; </div>
<div class="line"><a name="l00680"></a><span class="lineno">  680</span>&#160;    <a class="code" href="a00086.html#a3b5310e2dd6b3c42cb13fa51a1b4e254">LeaveDDECrit</a>;</div>
<div class="line"><a name="l00681"></a><span class="lineno">  681</span>&#160; </div>
<div class="line"><a name="l00682"></a><span class="lineno">  682</span>&#160;    <span class="keywordflow">if</span> (hwndTarget) {</div>
<div class="line"><a name="l00683"></a><span class="lineno">  683</span>&#160;        SendMessage(hwndTarget, WM_DDE_INITIATE, (<a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>)ie.<a class="code" href="a01809.html#ad285e3a598920b58d4232596cd0a8460">hwndClient</a>,</div>
<div class="line"><a name="l00684"></a><span class="lineno">  684</span>&#160;                ie.<a class="code" href="a01809.html#aea6dbba0f7eb12aee294a96f0ed5b1b6">lParam</a>);</div>
<div class="line"><a name="l00685"></a><span class="lineno">  685</span>&#160;    } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00686"></a><span class="lineno">  686</span>&#160;        <span class="comment">/*</span></div>
<div class="line"><a name="l00687"></a><span class="lineno">  687</span>&#160;<span class="comment">         * Send this message to the nddeagnt app first so it can start</span></div>
<div class="line"><a name="l00688"></a><span class="lineno">  688</span>&#160;<span class="comment">         * the netdde services BEFORE we do an enumeration of windows.</span></div>
<div class="line"><a name="l00689"></a><span class="lineno">  689</span>&#160;<span class="comment">         * This lets things work the first time.  NetDDEAgent caches</span></div>
<div class="line"><a name="l00690"></a><span class="lineno">  690</span>&#160;<span class="comment">         * service status so this is the fastest way to do this.</span></div>
<div class="line"><a name="l00691"></a><span class="lineno">  691</span>&#160;<span class="comment">         */</span></div>
<div class="line"><a name="l00692"></a><span class="lineno">  692</span>&#160;        HWND hwndAgent = FindWindowW(SZ_NDDEAGNT_CLASS, SZ_NDDEAGNT_TITLE);</div>
<div class="line"><a name="l00693"></a><span class="lineno">  693</span>&#160;        <span class="keywordflow">if</span> (hwndAgent) {</div>
<div class="line"><a name="l00694"></a><span class="lineno">  694</span>&#160;            SendMessage(hwndAgent,</div>
<div class="line"><a name="l00695"></a><span class="lineno">  695</span>&#160;                WM_DDE_INITIATE, (WPARAM)ie.<a class="code" href="a01809.html#ad285e3a598920b58d4232596cd0a8460">hwndClient</a>, ie.<a class="code" href="a01809.html#aea6dbba0f7eb12aee294a96f0ed5b1b6">lParam</a>);</div>
<div class="line"><a name="l00696"></a><span class="lineno">  696</span>&#160;        }</div>
<div class="line"><a name="l00697"></a><span class="lineno">  697</span>&#160;        <a class="code" href="a00017.html#ac78a31efa521e4b8dd58c46c81ff07da">EnumWindows</a>((WNDENUMPROC)<a class="code" href="a00062.html#a4b09979005f69e3a080c39d654040eb5">InitiateEnumerationProc</a>, (LONG)&amp;ie);</div>
<div class="line"><a name="l00698"></a><span class="lineno">  698</span>&#160;    }</div>
<div class="line"><a name="l00699"></a><span class="lineno">  699</span>&#160; </div>
<div class="line"><a name="l00700"></a><span class="lineno">  700</span>&#160;    <a class="code" href="a00086.html#a8c66aaa58bd4b338d4f04ae07d4fb23a">EnterDDECrit</a>;</div>
<div class="line"><a name="l00701"></a><span class="lineno">  701</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00702"></a><span class="lineno">  702</span>&#160;<span class="comment">     * hConvList may have been destroyed during the enumeration but we are</span></div>
<div class="line"><a name="l00703"></a><span class="lineno">  703</span>&#160;<span class="comment">     * done with it now so no need to revalidate.</span></div>
<div class="line"><a name="l00704"></a><span class="lineno">  704</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00705"></a><span class="lineno">  705</span>&#160; </div>
<div class="line"><a name="l00706"></a><span class="lineno">  706</span>&#160;<span class="preprocessor">#ifdef DEBUG</span></div>
<div class="line"><a name="l00707"></a><span class="lineno">  707</span>&#160;    {</div>
<div class="line"><a name="l00708"></a><span class="lineno">  708</span>&#160;        WCHAR sz[10];</div>
<div class="line"><a name="l00709"></a><span class="lineno">  709</span>&#160; </div>
<div class="line"><a name="l00710"></a><span class="lineno">  710</span>&#160;        <span class="keywordflow">if</span> (gaService &amp;&amp; GlobalGetAtomName(gaService, sz, 10) == 0) {</div>
<div class="line"><a name="l00711"></a><span class="lineno">  711</span>&#160;            <a class="code" href="a00371.html#a31aafffb49dfe98bdc749c9b35c90162">RIPMSG1</a>(<a class="code" href="a00371.html#afa5f32de88404289ec03cd2c0e61e94f">RIP_ERROR</a>, <span class="stringliteral">&quot;Bad Service Atom after Initiate phase: %lX&quot;</span>, (<a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>)gaService);</div>
<div class="line"><a name="l00712"></a><span class="lineno">  712</span>&#160;        }</div>
<div class="line"><a name="l00713"></a><span class="lineno">  713</span>&#160;        <span class="keywordflow">if</span> (gaTopic &amp;&amp; GlobalGetAtomName(gaTopic, sz, 10) == 0) {</div>
<div class="line"><a name="l00714"></a><span class="lineno">  714</span>&#160;            <a class="code" href="a00371.html#a31aafffb49dfe98bdc749c9b35c90162">RIPMSG1</a>(<a class="code" href="a00371.html#afa5f32de88404289ec03cd2c0e61e94f">RIP_ERROR</a>, <span class="stringliteral">&quot;Bad Topic Atom after Initiate phase: %lX&quot;</span>, (<a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>)gaTopic);</div>
<div class="line"><a name="l00715"></a><span class="lineno">  715</span>&#160;        }</div>
<div class="line"><a name="l00716"></a><span class="lineno">  716</span>&#160;    }</div>
<div class="line"><a name="l00717"></a><span class="lineno">  717</span>&#160;<span class="preprocessor">#endif // DEBUG</span></div>
<div class="line"><a name="l00718"></a><span class="lineno">  718</span>&#160; </div>
<div class="line"><a name="l00719"></a><span class="lineno">  719</span>&#160;    GlobalDeleteAtom(gaService);</div>
<div class="line"><a name="l00720"></a><span class="lineno">  720</span>&#160;    GlobalDeleteAtom(gaTopic);</div>
<div class="line"><a name="l00721"></a><span class="lineno">  721</span>&#160; </div>
<div class="line"><a name="l00722"></a><span class="lineno">  722</span>&#160;    <span class="comment">//</span></div>
<div class="line"><a name="l00723"></a><span class="lineno">  723</span>&#160;    <span class="comment">// Get the first pci allocated when a WM_DDE_ACK was recieved.</span></div>
<div class="line"><a name="l00724"></a><span class="lineno">  724</span>&#160;    <span class="comment">//</span></div>
<div class="line"><a name="l00725"></a><span class="lineno">  725</span>&#160;    pci = (<a class="code" href="a00086.html#a3dc39629249824029407d9b5954b34f5">PCL_CONV_INFO</a>)GetWindowLong(ie.<a class="code" href="a01809.html#ad285e3a598920b58d4232596cd0a8460">hwndClient</a>, GWL_PCI);</div>
<div class="line"><a name="l00726"></a><span class="lineno">  726</span>&#160;    <span class="keywordflow">if</span> (pci == NULL) {</div>
<div class="line"><a name="l00727"></a><span class="lineno">  727</span>&#160;Error:</div>
<div class="line"><a name="l00728"></a><span class="lineno">  728</span>&#160;        <a class="code" href="a00086.html#a3b5310e2dd6b3c42cb13fa51a1b4e254">LeaveDDECrit</a>;</div>
<div class="line"><a name="l00729"></a><span class="lineno">  729</span>&#160;        <a class="code" href="a00362.html#a0aa1711ac96764929b5aec3aadb7af2f">NtUserDestroyWindow</a>(ie.<a class="code" href="a01809.html#ad285e3a598920b58d4232596cd0a8460">hwndClient</a>);</div>
<div class="line"><a name="l00730"></a><span class="lineno">  730</span>&#160;        <a class="code" href="a00086.html#a8c66aaa58bd4b338d4f04ae07d4fb23a">EnterDDECrit</a>;</div>
<div class="line"><a name="l00731"></a><span class="lineno">  731</span>&#160;        <span class="keywordflow">return</span> (NULL);</div>
<div class="line"><a name="l00732"></a><span class="lineno">  732</span>&#160;    }</div>
<div class="line"><a name="l00733"></a><span class="lineno">  733</span>&#160; </div>
<div class="line"><a name="l00734"></a><span class="lineno">  734</span>&#160;    SetWindowLong(ie.<a class="code" href="a01809.html#ad285e3a598920b58d4232596cd0a8460">hwndClient</a>, GWL_CONVSTATE, CLST_CONNECTED);</div>
<div class="line"><a name="l00735"></a><span class="lineno">  735</span>&#160;    <span class="keywordflow">if</span> (hwndTarget) {</div>
<div class="line"><a name="l00736"></a><span class="lineno">  736</span>&#160;        <span class="comment">/*</span></div>
<div class="line"><a name="l00737"></a><span class="lineno">  737</span>&#160;<span class="comment">         * If hwndTarget was NULL, the enumeration proc took care of this.</span></div>
<div class="line"><a name="l00738"></a><span class="lineno">  738</span>&#160;<span class="comment">         */</span></div>
<div class="line"><a name="l00739"></a><span class="lineno">  739</span>&#160;        pci-&gt;<a class="code" href="a01849.html#ae2aa0a1e8bf12852487eb7c761fc1e46">hwndReconnect</a> = hwndTarget;</div>
<div class="line"><a name="l00740"></a><span class="lineno">  740</span>&#160;        <a class="code" href="a00371.html#a162a73e20dfabca084a3ebb4581631a8">UserAssert</a>(pci-&gt;<a class="code" href="a01849.html#a32c7595834535b04b8e88dd6ddb09d47">ci</a>.<a class="code" href="a01845.html#a6f9fff70be46542c217424f5f415821a">next</a> == NULL);</div>
<div class="line"><a name="l00741"></a><span class="lineno">  741</span>&#160;        pci-&gt;<a class="code" href="a01849.html#a32c7595834535b04b8e88dd6ddb09d47">ci</a>.<a class="code" href="a01845.html#a9a66c3e7ae56e5adf407e16f01a76676">laServiceRequested</a> = laService;</div>
<div class="line"><a name="l00742"></a><span class="lineno">  742</span>&#160;        <a class="code" href="a00086.html#ad33b600c0405aee1e67d56ddd3e83c42">IncLocalAtomCount</a>(laService); <span class="comment">// pci copy</span></div>
<div class="line"><a name="l00743"></a><span class="lineno">  743</span>&#160;    }</div>
<div class="line"><a name="l00744"></a><span class="lineno">  744</span>&#160; </div>
<div class="line"><a name="l00745"></a><span class="lineno">  745</span>&#160;    <span class="keywordflow">if</span> (pcii-&gt;<a class="code" href="a01841.html#aeedf4ff87347e042a697331c6ca6b469">MonitorFlags</a> &amp; MF_CONV) {</div>
<div class="line"><a name="l00746"></a><span class="lineno">  746</span>&#160;        <span class="keywordflow">for</span> (pcoi = (<a class="code" href="a01845.html">PCONV_INFO</a>)pci; pcoi; pcoi = pcoi-&gt;<a class="code" href="a01845.html#a6f9fff70be46542c217424f5f415821a">next</a>) {</div>
<div class="line"><a name="l00747"></a><span class="lineno">  747</span>&#160;            <a class="code" href="a00086.html#afa268e07586fb59f8251f975f4b5328e">MONCONV</a>(pcoi, TRUE);</div>
<div class="line"><a name="l00748"></a><span class="lineno">  748</span>&#160;        }</div>
<div class="line"><a name="l00749"></a><span class="lineno">  749</span>&#160;    }</div>
<div class="line"><a name="l00750"></a><span class="lineno">  750</span>&#160;    <span class="keywordflow">return</span> (pci);</div>
<div class="line"><a name="l00751"></a><span class="lineno">  751</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00365_source.html#l00998">tagSERVERINFO::atomSysClass</a>, <a class="el" href="a00086_source.html#l00050">CheckDDECritIn</a>, <a class="el" href="a00086_source.html#l00051">CheckDDECritOut</a>, <a class="el" href="a00086_source.html#l00223">tagCL_CONV_INFO::ci</a>, <a class="el" href="a00062_source.html#l00127">tagINIT_ENUM::clst</a>, <a class="el" href="a00563_source.html#l00175">DWORD</a>, <a class="el" href="a00086_source.html#l00040">EnterDDECrit</a>, <a class="el" href="a00017_source.html#l00035">EnumWindows()</a>, <a class="el" href="a00086_source.html#l00192">tagCL_INSTANCE_INFO::flags</a>, <a class="el" href="a00020_source.html#l00039">gpsi</a>, <a class="el" href="a00062_source.html#l00126">tagINIT_ENUM::hConvList</a>, <a class="el" href="a00086_source.html#l00178">tagCL_INSTANCE_INFO::hInstClient</a>, <a class="el" href="a00086_source.html#l00177">tagCL_INSTANCE_INFO::hInstServer</a>, <a class="el" href="a00062_source.html#l00121">tagINIT_ENUM::hwndClient</a>, <a class="el" href="a00086_source.html#l00180">tagCL_INSTANCE_INFO::hwndMother</a>, <a class="el" href="a00086_source.html#l00224">tagCL_CONV_INFO::hwndReconnect</a>, <a class="el" href="a00062_source.html#l00122">tagINIT_ENUM::hwndSkip</a>, <a class="el" href="a00086_source.html#l00198">IIF_UNICODE</a>, <a class="el" href="a00164_source.html#l00516">IncLocalAtomCount()</a>, <a class="el" href="a00062_source.html#l00782">InitiateEnumerationProc()</a>, <a class="el" href="a00062_source.html#l00124">tagINIT_ENUM::laServiceRequested</a>, <a class="el" href="a00086_source.html#l00212">tagCONV_INFO::laServiceRequested</a>, <a class="el" href="a00062_source.html#l00125">tagINIT_ENUM::laTopic</a>, <a class="el" href="a00086_source.html#l00041">LeaveDDECrit</a>, <a class="el" href="a00164_source.html#l00438">LocalToGlobalAtom()</a>, <a class="el" href="a00062_source.html#l00123">tagINIT_ENUM::lParam</a>, <a class="el" href="a00086_source.html#l00030">MONCONV</a>, <a class="el" href="a00086_source.html#l00179">tagCL_INSTANCE_INFO::MonitorFlags</a>, <a class="el" href="a00086_source.html#l00203">tagCONV_INFO::next</a>, <a class="el" href="a03614_source.html#l03085">NtUserDdeSetQualityOfService()</a>, <a class="el" href="a03614_source.html#l02870">NtUserDestroyWindow()</a>, <a class="el" href="a00371_source.html#l00028">RIP_ERROR</a>, <a class="el" href="a00371_source.html#l00132">RIPMSG1</a>, <a class="el" href="a00272_source.html#l00385">SetConvContext()</a>, <a class="el" href="a00170_source.html#l00137">SetLastDDEMLError()</a> , 以及 <a class="el" href="a00950_source.html#l00117">UserAssert</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00062_source.html#l00144">DdeConnect()</a>, <a class="el" href="a00062_source.html#l00193">DdeConnectList()</a> , 以及 <a class="el" href="a00062_source.html#l00407">DdeReconnect()</a>.</p>

</div>
</div>
<a id="ae4845fe4c102fc02c40c557a18e9a6f4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae4845fe4c102fc02c40c557a18e9a6f4">&#9670;&nbsp;</a></span>DdeConnect()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">HCONV DdeConnect </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>&#160;</td>
          <td class="paramname"><em>idInst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">HSZ&#160;</td>
          <td class="paramname"><em>hszService</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">HSZ&#160;</td>
          <td class="paramname"><em>hszTopic</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">PCONVCONTEXT&#160;</td>
          <td class="paramname"><em>pCC</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00062_source.html">connect.c</a> 第 <a class="el" href="a00062_source.html#l00144">144</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;{</div>
<div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;    <a class="code" href="a01841.html">PCL_INSTANCE_INFO</a> pcii;</div>
<div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;    <a class="code" href="a01849.html">PCL_CONV_INFO</a> pci;</div>
<div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;    HCONV hConvRet = 0;</div>
<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;    HWND hwndTarget = 0;</div>
<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;    <a class="code" href="a00086.html#afb884b9e2fb48a9b845acffcb306c059">LATOM</a> aNormalSvcName = 0;</div>
<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160; </div>
<div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;    <a class="code" href="a00086.html#a8c66aaa58bd4b338d4f04ae07d4fb23a">EnterDDECrit</a>;</div>
<div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160; </div>
<div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;    <span class="keywordflow">if</span> (!<a class="code" href="a00062.html#a40329f973a119a2a8109a08379b5e0c6">ValidateConnectParameters</a>((HANDLE)idInst, &amp;pcii, &amp;hszService, hszTopic,</div>
<div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;            &amp;aNormalSvcName, &amp;pCC, &amp;hwndTarget, 0)) {</div>
<div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;        <span class="keywordflow">goto</span> Exit;</div>
<div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;    }</div>
<div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;    pci = <a class="code" href="a00062.html#ad714b9dfd0100246ad2ae128fec95f98">ConnectConv</a>(pcii, <a class="code" href="a00086.html#a4ef5faecf33ead428f95c9e93ef1ef4d">LATOM_FROM_HSZ</a>(hszService), <a class="code" href="a00086.html#a4ef5faecf33ead428f95c9e93ef1ef4d">LATOM_FROM_HSZ</a>(hszTopic),</div>
<div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;            hwndTarget,</div>
<div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;            (pcii-&gt;<a class="code" href="a01841.html#a9735d28a0381236e8c20f45a431efd55">afCmd</a> &amp; CBF_FAIL_SELFCONNECTIONS) ? pcii-&gt;<a class="code" href="a01841.html#a95c5ea2fe9e74aa8b772f13287b0ecda">hwndMother</a> : 0,</div>
<div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;            pCC, 0, CLST_SINGLE_INITIALIZING);</div>
<div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;    <span class="keywordflow">if</span> (pci == NULL) {</div>
<div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;        <a class="code" href="a00086.html#a8b2e79f5b5173a6fbfeb65e2195720c3">SetLastDDEMLError</a>(pcii, DMLERR_NO_CONV_ESTABLISHED);</div>
<div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;        <span class="keywordflow">goto</span> Exit;</div>
<div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;    } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;        hConvRet = pci-&gt;<a class="code" href="a01849.html#a32c7595834535b04b8e88dd6ddb09d47">ci</a>.<a class="code" href="a01845.html#aed1dfd4816a13b9e20712ad7049e1fcc">hConv</a>;</div>
<div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;    }</div>
<div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160; </div>
<div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;Exit:</div>
<div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;    <span class="keywordflow">if</span> (aNormalSvcName) {</div>
<div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;        GlobalDeleteAtom(aNormalSvcName);</div>
<div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;    }</div>
<div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;    <a class="code" href="a00086.html#a3b5310e2dd6b3c42cb13fa51a1b4e254">LeaveDDECrit</a>;</div>
<div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;    <span class="keywordflow">return</span> (hConvRet);</div>
<div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00086_source.html#l00183">tagCL_INSTANCE_INFO::afCmd</a>, <a class="el" href="a00086_source.html#l00223">tagCL_CONV_INFO::ci</a>, <a class="el" href="a00062_source.html#l00605">ConnectConv()</a>, <a class="el" href="a00086_source.html#l00040">EnterDDECrit</a>, <a class="el" href="a00086_source.html#l00206">tagCONV_INFO::hConv</a>, <a class="el" href="a00086_source.html#l00180">tagCL_INSTANCE_INFO::hwndMother</a>, <a class="el" href="a00086_source.html#l00061">LATOM_FROM_HSZ</a>, <a class="el" href="a00086_source.html#l00041">LeaveDDECrit</a>, <a class="el" href="a00170_source.html#l00137">SetLastDDEMLError()</a> , 以及 <a class="el" href="a00062_source.html#l00489">ValidateConnectParameters()</a>.</p>

</div>
</div>
<a id="a128fb6aea36a3169b9bcec9c8d32a0de"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a128fb6aea36a3169b9bcec9c8d32a0de">&#9670;&nbsp;</a></span>DdeConnectList()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">HCONVLIST DdeConnectList </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>&#160;</td>
          <td class="paramname"><em>idInst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">HSZ&#160;</td>
          <td class="paramname"><em>hszService</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">HSZ&#160;</td>
          <td class="paramname"><em>hszTopic</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">HCONVLIST&#160;</td>
          <td class="paramname"><em>hConvList</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">PCONVCONTEXT&#160;</td>
          <td class="paramname"><em>pCC</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00062_source.html">connect.c</a> 第 <a class="el" href="a00062_source.html#l00193">193</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;{</div>
<div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160;    <a class="code" href="a01841.html">PCL_INSTANCE_INFO</a> pcii;</div>
<div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;    <a class="code" href="a01845.html">PCONV_INFO</a> pcoi, pcoiNew, pcoiExisting, pcoiNext;</div>
<div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;    HCONVLIST hConvListRet = 0;</div>
<div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;    HWND hwndTarget = 0;</div>
<div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160;    <a class="code" href="a00086.html#afb884b9e2fb48a9b845acffcb306c059">LATOM</a> aNormalSvcName = 0;</div>
<div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160;    <a class="code" href="a01857.html">PCONVLIST</a> pcl = NULL;</div>
<div class="line"><a name="l00206"></a><span class="lineno">  206</span>&#160;    HCONVLIST hConvListOld;</div>
<div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160;    <span class="keywordtype">int</span> i;</div>
<div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160; </div>
<div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;    <a class="code" href="a00086.html#af4a5ecbacfdd6845c5c37342f333ace4">CheckDDECritOut</a>;</div>
<div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160; </div>
<div class="line"><a name="l00211"></a><span class="lineno">  211</span>&#160;    <a class="code" href="a00086.html#a8c66aaa58bd4b338d4f04ae07d4fb23a">EnterDDECrit</a>;</div>
<div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160; </div>
<div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160;    <span class="keywordflow">if</span> (!<a class="code" href="a00062.html#a40329f973a119a2a8109a08379b5e0c6">ValidateConnectParameters</a>((HANDLE)idInst, &amp;pcii, &amp;hszService, hszTopic,</div>
<div class="line"><a name="l00214"></a><span class="lineno">  214</span>&#160;            &amp;aNormalSvcName, &amp;pCC, &amp;hwndTarget, hConvList)) {</div>
<div class="line"><a name="l00215"></a><span class="lineno">  215</span>&#160;        <span class="keywordflow">goto</span> Exit;</div>
<div class="line"><a name="l00216"></a><span class="lineno">  216</span>&#160;    }</div>
<div class="line"><a name="l00217"></a><span class="lineno">  217</span>&#160; </div>
<div class="line"><a name="l00218"></a><span class="lineno">  218</span>&#160;    <a class="code" href="a00062.html#a6989104e037ecc4ac73d9973485bab1f">ValidateConvList</a>(hConvList);</div>
<div class="line"><a name="l00219"></a><span class="lineno">  219</span>&#160; </div>
<div class="line"><a name="l00220"></a><span class="lineno">  220</span>&#160;    hConvListOld = hConvList;</div>
<div class="line"><a name="l00221"></a><span class="lineno">  221</span>&#160;    pcoi = (<a class="code" href="a00086.html#ac204a6b912ffd4404bb455e0f78d527e">PCONV_INFO</a>)<a class="code" href="a00062.html#ad714b9dfd0100246ad2ae128fec95f98">ConnectConv</a>(pcii,</div>
<div class="line"><a name="l00222"></a><span class="lineno">  222</span>&#160;            <a class="code" href="a00086.html#a4ef5faecf33ead428f95c9e93ef1ef4d">LATOM_FROM_HSZ</a>(hszService),</div>
<div class="line"><a name="l00223"></a><span class="lineno">  223</span>&#160;            <a class="code" href="a00086.html#a4ef5faecf33ead428f95c9e93ef1ef4d">LATOM_FROM_HSZ</a>(hszTopic),</div>
<div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160;            hwndTarget,</div>
<div class="line"><a name="l00225"></a><span class="lineno">  225</span>&#160;            (pcii-&gt;<a class="code" href="a01841.html#a9735d28a0381236e8c20f45a431efd55">afCmd</a> &amp; (CBF_FAIL_SELFCONNECTIONS | CBF_FAIL_CONNECTIONS)) ?</div>
<div class="line"><a name="l00226"></a><span class="lineno">  226</span>&#160;                pcii-&gt;<a class="code" href="a01841.html#a95c5ea2fe9e74aa8b772f13287b0ecda">hwndMother</a> : 0,</div>
<div class="line"><a name="l00227"></a><span class="lineno">  227</span>&#160;            pCC,</div>
<div class="line"><a name="l00228"></a><span class="lineno">  228</span>&#160;            hConvListOld,</div>
<div class="line"><a name="l00229"></a><span class="lineno">  229</span>&#160;            CLST_MULT_INITIALIZING);</div>
<div class="line"><a name="l00230"></a><span class="lineno">  230</span>&#160; </div>
<div class="line"><a name="l00231"></a><span class="lineno">  231</span>&#160;    <span class="keywordflow">if</span> (pcoi == NULL) {</div>
<div class="line"><a name="l00232"></a><span class="lineno">  232</span>&#160;        <span class="comment">/*</span></div>
<div class="line"><a name="l00233"></a><span class="lineno">  233</span>&#160;<span class="comment">         * no new connections made</span></div>
<div class="line"><a name="l00234"></a><span class="lineno">  234</span>&#160;<span class="comment">         */</span></div>
<div class="line"><a name="l00235"></a><span class="lineno">  235</span>&#160;        <a class="code" href="a00086.html#a8b2e79f5b5173a6fbfeb65e2195720c3">SetLastDDEMLError</a>(pcii, DMLERR_NO_CONV_ESTABLISHED);</div>
<div class="line"><a name="l00236"></a><span class="lineno">  236</span>&#160;        hConvListRet = hConvListOld;</div>
<div class="line"><a name="l00237"></a><span class="lineno">  237</span>&#160;        <span class="keywordflow">goto</span> Exit;</div>
<div class="line"><a name="l00238"></a><span class="lineno">  238</span>&#160;    }</div>
<div class="line"><a name="l00239"></a><span class="lineno">  239</span>&#160; </div>
<div class="line"><a name="l00240"></a><span class="lineno">  240</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160;<span class="comment">     * allocate or reallocate the hConvList hwnd list for later addition</span></div>
<div class="line"><a name="l00242"></a><span class="lineno">  242</span>&#160;<span class="comment">     * If we already have a valid list, reuse the handle so we don&#39;t have</span></div>
<div class="line"><a name="l00243"></a><span class="lineno">  243</span>&#160;<span class="comment">     * to alter the preexisting pcoi-&gt;hConvList values.</span></div>
<div class="line"><a name="l00244"></a><span class="lineno">  244</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00245"></a><span class="lineno">  245</span>&#160;    <span class="keywordflow">if</span> (hConvListOld == 0) {</div>
<div class="line"><a name="l00246"></a><span class="lineno">  246</span>&#160;        pcl = (<a class="code" href="a00086.html#a6e32f41e048da966b06caf60267b5580">PCONVLIST</a>)<a class="code" href="a00086.html#acc904eaf46cb98fa7741658d8e00f06c">DDEMLAlloc</a>(<span class="keyword">sizeof</span>(<a class="code" href="a01857.html">CONVLIST</a>));</div>
<div class="line"><a name="l00247"></a><span class="lineno">  247</span>&#160;        <span class="keywordflow">if</span> (pcl == NULL) {</div>
<div class="line"><a name="l00248"></a><span class="lineno">  248</span>&#160;            <a class="code" href="a00086.html#a8b2e79f5b5173a6fbfeb65e2195720c3">SetLastDDEMLError</a>(pcii, DMLERR_MEMORY_ERROR);</div>
<div class="line"><a name="l00249"></a><span class="lineno">  249</span>&#160;            <a class="code" href="a00062.html#a205c36f2db983e08bc2c9690c6a1b269">DisconnectConv</a>(pcoi);</div>
<div class="line"><a name="l00250"></a><span class="lineno">  250</span>&#160;            <span class="keywordflow">goto</span> Exit;</div>
<div class="line"><a name="l00251"></a><span class="lineno">  251</span>&#160;        }</div>
<div class="line"><a name="l00252"></a><span class="lineno">  252</span>&#160;        <span class="comment">// pcl-&gt;chwnd = 0; LPTR zero inits.</span></div>
<div class="line"><a name="l00253"></a><span class="lineno">  253</span>&#160; </div>
<div class="line"><a name="l00254"></a><span class="lineno">  254</span>&#160;        hConvList = (HCONVLIST)<a class="code" href="a00086.html#a87d38bfb89ae342e462db838beab43cf">CreateHandle</a>((<a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>)pcl,</div>
<div class="line"><a name="l00255"></a><span class="lineno">  255</span>&#160;                <a class="code" href="a00086.html#a34528446d56187d633881a314c3c6c20">HTYPE_CONVERSATION_LIST</a>, <a class="code" href="a00086.html#a6a2176afcdf096eb6add39fa9d673f80">InstFromHandle</a>(pcii-&gt;<a class="code" href="a01841.html#a6a33ca20f90febbc42166c4466d979c2">hInstClient</a>));</div>
<div class="line"><a name="l00256"></a><span class="lineno">  256</span>&#160;        <span class="keywordflow">if</span> (hConvList == 0) {</div>
<div class="line"><a name="l00257"></a><span class="lineno">  257</span>&#160;            <a class="code" href="a00086.html#a14b7b2abd485b184293dcd3d34c29e23">DDEMLFree</a>(pcl);</div>
<div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160;            <a class="code" href="a00086.html#a8b2e79f5b5173a6fbfeb65e2195720c3">SetLastDDEMLError</a>(pcii, DMLERR_MEMORY_ERROR);</div>
<div class="line"><a name="l00259"></a><span class="lineno">  259</span>&#160;            <a class="code" href="a00062.html#a205c36f2db983e08bc2c9690c6a1b269">DisconnectConv</a>(pcoi);</div>
<div class="line"><a name="l00260"></a><span class="lineno">  260</span>&#160;            <span class="keywordflow">goto</span> Exit;</div>
<div class="line"><a name="l00261"></a><span class="lineno">  261</span>&#160;        }</div>
<div class="line"><a name="l00262"></a><span class="lineno">  262</span>&#160;    } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00263"></a><span class="lineno">  263</span>&#160;        pcl = (<a class="code" href="a00086.html#a6e32f41e048da966b06caf60267b5580">PCONVLIST</a>)<a class="code" href="a00086.html#ace76c837c4a69e5da55f6a99429eb8d9">GetHandleData</a>((HANDLE)hConvList);</div>
<div class="line"><a name="l00264"></a><span class="lineno">  264</span>&#160;        pcl = <a class="code" href="a00086.html#ac22685a19cc50d86b3c1ab6cf0fa322a">DDEMLReAlloc</a>(pcl, <span class="keyword">sizeof</span>(<a class="code" href="a01857.html">CONVLIST</a>) + <span class="keyword">sizeof</span>(HWND) * pcl-&gt;<a class="code" href="a01857.html#a4790abb1d49e1e3ec035ae70eef5cf2f">chwnd</a>);</div>
<div class="line"><a name="l00265"></a><span class="lineno">  265</span>&#160;        <span class="keywordflow">if</span> (pcl == NULL) {</div>
<div class="line"><a name="l00266"></a><span class="lineno">  266</span>&#160;            <a class="code" href="a00086.html#a8b2e79f5b5173a6fbfeb65e2195720c3">SetLastDDEMLError</a>(pcii, DMLERR_MEMORY_ERROR);</div>
<div class="line"><a name="l00267"></a><span class="lineno">  267</span>&#160;            hConvListRet = hConvListOld;</div>
<div class="line"><a name="l00268"></a><span class="lineno">  268</span>&#160;            <a class="code" href="a00062.html#a205c36f2db983e08bc2c9690c6a1b269">DisconnectConv</a>(pcoi);</div>
<div class="line"><a name="l00269"></a><span class="lineno">  269</span>&#160;            <span class="keywordflow">goto</span> Exit;</div>
<div class="line"><a name="l00270"></a><span class="lineno">  270</span>&#160;        }</div>
<div class="line"><a name="l00271"></a><span class="lineno">  271</span>&#160;        <a class="code" href="a00086.html#a39e256548fb3bd87386af9d7d0764382">SetHandleData</a>((HANDLE)hConvList, (<a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>)pcl);</div>
<div class="line"><a name="l00272"></a><span class="lineno">  272</span>&#160;    }</div>
<div class="line"><a name="l00273"></a><span class="lineno">  273</span>&#160; </div>
<div class="line"><a name="l00274"></a><span class="lineno">  274</span>&#160;    <a class="code" href="a00062.html#a6989104e037ecc4ac73d9973485bab1f">ValidateConvList</a>(hConvListOld);</div>
<div class="line"><a name="l00275"></a><span class="lineno">  275</span>&#160; </div>
<div class="line"><a name="l00276"></a><span class="lineno">  276</span>&#160;    <span class="keywordflow">if</span> (hConvListOld) {</div>
<div class="line"><a name="l00277"></a><span class="lineno">  277</span>&#160;        <span class="comment">/*</span></div>
<div class="line"><a name="l00278"></a><span class="lineno">  278</span>&#160;<span class="comment">         * remove duplicates from new conversations</span></div>
<div class="line"><a name="l00279"></a><span class="lineno">  279</span>&#160;<span class="comment">         *</span></div>
<div class="line"><a name="l00280"></a><span class="lineno">  280</span>&#160;<span class="comment">         * Although we tried to prevent duplicates from happening</span></div>
<div class="line"><a name="l00281"></a><span class="lineno">  281</span>&#160;<span class="comment">         * within the initiate enumeration code, wild initiates or</span></div>
<div class="line"><a name="l00282"></a><span class="lineno">  282</span>&#160;<span class="comment">         * servers responding with different service names than</span></div>
<div class="line"><a name="l00283"></a><span class="lineno">  283</span>&#160;<span class="comment">         * requested could cause duplicates.</span></div>
<div class="line"><a name="l00284"></a><span class="lineno">  284</span>&#160;<span class="comment">         */</span></div>
<div class="line"><a name="l00285"></a><span class="lineno">  285</span>&#160; </div>
<div class="line"><a name="l00286"></a><span class="lineno">  286</span>&#160;        <span class="comment">/* For each client window... */</span></div>
<div class="line"><a name="l00287"></a><span class="lineno">  287</span>&#160; </div>
<div class="line"><a name="l00288"></a><span class="lineno">  288</span>&#160;        <span class="keywordflow">for</span> (i = 0; i &lt; pcl-&gt;<a class="code" href="a01857.html#a4790abb1d49e1e3ec035ae70eef5cf2f">chwnd</a>; i++) {</div>
<div class="line"><a name="l00289"></a><span class="lineno">  289</span>&#160; </div>
<div class="line"><a name="l00290"></a><span class="lineno">  290</span>&#160;        <span class="comment">/* For each existing conversation in that window... */</span></div>
<div class="line"><a name="l00291"></a><span class="lineno">  291</span>&#160; </div>
<div class="line"><a name="l00292"></a><span class="lineno">  292</span>&#160;            <span class="keywordflow">for</span> (pcoiExisting = (<a class="code" href="a01845.html">PCONV_INFO</a>)</div>
<div class="line"><a name="l00293"></a><span class="lineno">  293</span>&#160;                        GetWindowLong(pcl-&gt;<a class="code" href="a01857.html#a620348880fc95c088c58c878ff8ba55a">ahwnd</a>[i], GWL_PCI);</div>
<div class="line"><a name="l00294"></a><span class="lineno">  294</span>&#160;                    pcoi != NULL &amp;&amp; pcoiExisting != NULL;</div>
<div class="line"><a name="l00295"></a><span class="lineno">  295</span>&#160;                    pcoiExisting = pcoiExisting-&gt;<a class="code" href="a01845.html#a6f9fff70be46542c217424f5f415821a">next</a>) {</div>
<div class="line"><a name="l00296"></a><span class="lineno">  296</span>&#160; </div>
<div class="line"><a name="l00297"></a><span class="lineno">  297</span>&#160;                <span class="keywordflow">if</span> (!(pcoiExisting-&gt;<a class="code" href="a01845.html#a5d717a64978f34c9afb8ae23374160a0">state</a> &amp; ST_CONNECTED))</div>
<div class="line"><a name="l00298"></a><span class="lineno">  298</span>&#160;                    <span class="keywordflow">continue</span>;</div>
<div class="line"><a name="l00299"></a><span class="lineno">  299</span>&#160; </div>
<div class="line"><a name="l00300"></a><span class="lineno">  300</span>&#160;        <span class="comment">/* For each new conversation... */</span></div>
<div class="line"><a name="l00301"></a><span class="lineno">  301</span>&#160; </div>
<div class="line"><a name="l00302"></a><span class="lineno">  302</span>&#160;                <span class="keywordflow">for</span> (pcoiNew = pcoi; pcoiNew != NULL; pcoiNew = pcoiNext) {</div>
<div class="line"><a name="l00303"></a><span class="lineno">  303</span>&#160; </div>
<div class="line"><a name="l00304"></a><span class="lineno">  304</span>&#160;                    pcoiNext = pcoiNew-&gt;<a class="code" href="a01845.html#a6f9fff70be46542c217424f5f415821a">next</a>;</div>
<div class="line"><a name="l00305"></a><span class="lineno">  305</span>&#160; </div>
<div class="line"><a name="l00306"></a><span class="lineno">  306</span>&#160;        <span class="comment">/* see if the new conversation duplicates the existing one */</span></div>
<div class="line"><a name="l00307"></a><span class="lineno">  307</span>&#160; </div>
<div class="line"><a name="l00308"></a><span class="lineno">  308</span>&#160;                    <span class="keywordflow">if</span> (!(pcoiNew-&gt;<a class="code" href="a01845.html#a5d717a64978f34c9afb8ae23374160a0">state</a> &amp; ST_CONNECTED))</div>
<div class="line"><a name="l00309"></a><span class="lineno">  309</span>&#160;                        <span class="keywordflow">continue</span>;</div>
<div class="line"><a name="l00310"></a><span class="lineno">  310</span>&#160; </div>
<div class="line"><a name="l00311"></a><span class="lineno">  311</span>&#160;                    <a class="code" href="a00371.html#a162a73e20dfabca084a3ebb4581631a8">UserAssert</a>(((<a class="code" href="a01849.html">PCL_CONV_INFO</a>)pcoiExisting)-&gt;hwndReconnect);</div>
<div class="line"><a name="l00312"></a><span class="lineno">  312</span>&#160;                    <a class="code" href="a00371.html#a162a73e20dfabca084a3ebb4581631a8">UserAssert</a>(((<a class="code" href="a01849.html">PCL_CONV_INFO</a>)pcoiNew)-&gt;hwndReconnect);</div>
<div class="line"><a name="l00313"></a><span class="lineno">  313</span>&#160; </div>
<div class="line"><a name="l00314"></a><span class="lineno">  314</span>&#160;                    <span class="keywordflow">if</span> (((<a class="code" href="a01849.html">PCL_CONV_INFO</a>)pcoiExisting)-&gt;hwndReconnect ==</div>
<div class="line"><a name="l00315"></a><span class="lineno">  315</span>&#160;                                ((<a class="code" href="a01849.html">PCL_CONV_INFO</a>)pcoiNew)-&gt;hwndReconnect &amp;&amp;</div>
<div class="line"><a name="l00316"></a><span class="lineno">  316</span>&#160;                            pcoiExisting-&gt;laTopic == pcoiNew-&gt;laTopic &amp;&amp;</div>
<div class="line"><a name="l00317"></a><span class="lineno">  317</span>&#160;                            pcoiExisting-&gt;laService == pcoiNew-&gt;laService) {</div>
<div class="line"><a name="l00318"></a><span class="lineno">  318</span>&#160;                        <span class="comment">/*</span></div>
<div class="line"><a name="l00319"></a><span class="lineno">  319</span>&#160;<span class="comment">                         * duplicate conversation - disconnection causes an unlink</span></div>
<div class="line"><a name="l00320"></a><span class="lineno">  320</span>&#160;<span class="comment">                         */</span></div>
<div class="line"><a name="l00321"></a><span class="lineno">  321</span>&#160;                        <span class="keywordflow">if</span> (pcoiNew == pcoi) {</div>
<div class="line"><a name="l00322"></a><span class="lineno">  322</span>&#160;                            <span class="comment">/*</span></div>
<div class="line"><a name="l00323"></a><span class="lineno">  323</span>&#160;<span class="comment">                             * We are freeing up the head of the list,</span></div>
<div class="line"><a name="l00324"></a><span class="lineno">  324</span>&#160;<span class="comment">                             * Reset the head to the next guy.</span></div>
<div class="line"><a name="l00325"></a><span class="lineno">  325</span>&#160;<span class="comment">                             */</span></div>
<div class="line"><a name="l00326"></a><span class="lineno">  326</span>&#160;                            pcoi = pcoiNext;</div>
<div class="line"><a name="l00327"></a><span class="lineno">  327</span>&#160;                        }</div>
<div class="line"><a name="l00328"></a><span class="lineno">  328</span>&#160;                        <a class="code" href="a00062.html#a6989104e037ecc4ac73d9973485bab1f">ValidateConvList</a>(hConvList);</div>
<div class="line"><a name="l00329"></a><span class="lineno">  329</span>&#160;                        <a class="code" href="a00062.html#a38e37b3579fd0f62bdd704ec10cd472f">ShutdownConversation</a>(pcoiNew, FALSE);</div>
<div class="line"><a name="l00330"></a><span class="lineno">  330</span>&#160;                        <a class="code" href="a00062.html#a6989104e037ecc4ac73d9973485bab1f">ValidateConvList</a>(hConvList);</div>
<div class="line"><a name="l00331"></a><span class="lineno">  331</span>&#160;                        <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00332"></a><span class="lineno">  332</span>&#160;                    }</div>
<div class="line"><a name="l00333"></a><span class="lineno">  333</span>&#160;                }</div>
<div class="line"><a name="l00334"></a><span class="lineno">  334</span>&#160;            }</div>
<div class="line"><a name="l00335"></a><span class="lineno">  335</span>&#160;        }</div>
<div class="line"><a name="l00336"></a><span class="lineno">  336</span>&#160; </div>
<div class="line"><a name="l00337"></a><span class="lineno">  337</span>&#160;        <span class="keywordflow">for</span> (pcoiExisting = pcoi; pcoiExisting != NULL; pcoiExisting = pcoiExisting-&gt;next) {</div>
<div class="line"><a name="l00338"></a><span class="lineno">  338</span>&#160;            <span class="comment">/*</span></div>
<div class="line"><a name="l00339"></a><span class="lineno">  339</span>&#160;<span class="comment">             * if these are all zombies - we DONT want to link it in!</span></div>
<div class="line"><a name="l00340"></a><span class="lineno">  340</span>&#160;<span class="comment">             * This is possible because ShutdownConversation() leaves the critical section</span></div>
<div class="line"><a name="l00341"></a><span class="lineno">  341</span>&#160;<span class="comment">             * and could allow responding terminates to come through.</span></div>
<div class="line"><a name="l00342"></a><span class="lineno">  342</span>&#160;<span class="comment">             */</span></div>
<div class="line"><a name="l00343"></a><span class="lineno">  343</span>&#160;            <span class="keywordflow">if</span> (pcoiExisting-&gt;state &amp; ST_CONNECTED) {</div>
<div class="line"><a name="l00344"></a><span class="lineno">  344</span>&#160;                <span class="keywordflow">goto</span> FoundOne;</div>
<div class="line"><a name="l00345"></a><span class="lineno">  345</span>&#160;            }</div>
<div class="line"><a name="l00346"></a><span class="lineno">  346</span>&#160;        }</div>
<div class="line"><a name="l00347"></a><span class="lineno">  347</span>&#160;        pcoi = NULL;    <span class="comment">// abandon this guy - he will clean up in time.</span></div>
<div class="line"><a name="l00348"></a><span class="lineno">  348</span>&#160;FoundOne:</div>
<div class="line"><a name="l00349"></a><span class="lineno">  349</span>&#160;        <span class="comment">/*</span></div>
<div class="line"><a name="l00350"></a><span class="lineno">  350</span>&#160;<span class="comment">         * add new pcoi (if any are left) hwnd to ConvList hwnd list.</span></div>
<div class="line"><a name="l00351"></a><span class="lineno">  351</span>&#160;<span class="comment">         */</span></div>
<div class="line"><a name="l00352"></a><span class="lineno">  352</span>&#160;        <span class="keywordflow">if</span> (pcoi != NULL) {</div>
<div class="line"><a name="l00353"></a><span class="lineno">  353</span>&#160;            <a class="code" href="a00371.html#a162a73e20dfabca084a3ebb4581631a8">UserAssert</a>(pcoi-&gt;<a class="code" href="a01845.html#aba9f8f0b5693cc2b4e3e1399bb9db05f">hwndConv</a>);</div>
<div class="line"><a name="l00354"></a><span class="lineno">  354</span>&#160;            pcl-&gt;<a class="code" href="a01857.html#a620348880fc95c088c58c878ff8ba55a">ahwnd</a>[pcl-&gt;<a class="code" href="a01857.html#a4790abb1d49e1e3ec035ae70eef5cf2f">chwnd</a>] = pcoi-&gt;<a class="code" href="a01845.html#aba9f8f0b5693cc2b4e3e1399bb9db05f">hwndConv</a>;</div>
<div class="line"><a name="l00355"></a><span class="lineno">  355</span>&#160;            pcl-&gt;<a class="code" href="a01857.html#a4790abb1d49e1e3ec035ae70eef5cf2f">chwnd</a>++;</div>
<div class="line"><a name="l00356"></a><span class="lineno">  356</span>&#160;            hConvListRet = hConvList;</div>
<div class="line"><a name="l00357"></a><span class="lineno">  357</span>&#160;        } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00358"></a><span class="lineno">  358</span>&#160;            hConvListRet = hConvListOld;</div>
<div class="line"><a name="l00359"></a><span class="lineno">  359</span>&#160;            <span class="keywordflow">if</span> (!hConvListOld) {</div>
<div class="line"><a name="l00360"></a><span class="lineno">  360</span>&#160;                <a class="code" href="a00086.html#a49f0ae82e6897f4c6208f18e7c04d787">DestroyHandle</a>((HANDLE)hConvList);</div>
<div class="line"><a name="l00361"></a><span class="lineno">  361</span>&#160;            }</div>
<div class="line"><a name="l00362"></a><span class="lineno">  362</span>&#160;        }</div>
<div class="line"><a name="l00363"></a><span class="lineno">  363</span>&#160; </div>
<div class="line"><a name="l00364"></a><span class="lineno">  364</span>&#160; </div>
<div class="line"><a name="l00365"></a><span class="lineno">  365</span>&#160;    } <span class="keywordflow">else</span> {    <span class="comment">// no hConvListOld</span></div>
<div class="line"><a name="l00366"></a><span class="lineno">  366</span>&#160; </div>
<div class="line"><a name="l00367"></a><span class="lineno">  367</span>&#160;        <a class="code" href="a00371.html#a162a73e20dfabca084a3ebb4581631a8">UserAssert</a>(pcoi-&gt;<a class="code" href="a01845.html#aba9f8f0b5693cc2b4e3e1399bb9db05f">hwndConv</a>);</div>
<div class="line"><a name="l00368"></a><span class="lineno">  368</span>&#160;        pcl-&gt;<a class="code" href="a01857.html#a620348880fc95c088c58c878ff8ba55a">ahwnd</a>[0] = pcoi-&gt;<a class="code" href="a01845.html#aba9f8f0b5693cc2b4e3e1399bb9db05f">hwndConv</a>;</div>
<div class="line"><a name="l00369"></a><span class="lineno">  369</span>&#160;        pcl-&gt;<a class="code" href="a01857.html#a4790abb1d49e1e3ec035ae70eef5cf2f">chwnd</a> = 1;</div>
<div class="line"><a name="l00370"></a><span class="lineno">  370</span>&#160;        hConvListRet = hConvList;</div>
<div class="line"><a name="l00371"></a><span class="lineno">  371</span>&#160;    }</div>
<div class="line"><a name="l00372"></a><span class="lineno">  372</span>&#160; </div>
<div class="line"><a name="l00373"></a><span class="lineno">  373</span>&#160;    <span class="keywordflow">if</span> (pcoi != NULL) {</div>
<div class="line"><a name="l00374"></a><span class="lineno">  374</span>&#160;        <span class="comment">/*</span></div>
<div class="line"><a name="l00375"></a><span class="lineno">  375</span>&#160;<span class="comment">         * set hConvList field for all remaining new conversations.</span></div>
<div class="line"><a name="l00376"></a><span class="lineno">  376</span>&#160;<span class="comment">         */</span></div>
<div class="line"><a name="l00377"></a><span class="lineno">  377</span>&#160;        <a class="code" href="a00371.html#a162a73e20dfabca084a3ebb4581631a8">UserAssert</a>(hConvListRet);</div>
<div class="line"><a name="l00378"></a><span class="lineno">  378</span>&#160;        <span class="keywordflow">for</span> (pcoiNew = pcoi; pcoiNew != NULL; pcoiNew = pcoiNew-&gt;<a class="code" href="a01845.html#a6f9fff70be46542c217424f5f415821a">next</a>) {</div>
<div class="line"><a name="l00379"></a><span class="lineno">  379</span>&#160;            <span class="keywordflow">if</span> (pcoiNew-&gt;<a class="code" href="a01845.html#a5d717a64978f34c9afb8ae23374160a0">state</a> &amp; ST_CONNECTED) {</div>
<div class="line"><a name="l00380"></a><span class="lineno">  380</span>&#160;                ((<a class="code" href="a00086.html#a3dc39629249824029407d9b5954b34f5">PCL_CONV_INFO</a>)pcoiNew)-&gt;hConvList = hConvListRet;</div>
<div class="line"><a name="l00381"></a><span class="lineno">  381</span>&#160;            }</div>
<div class="line"><a name="l00382"></a><span class="lineno">  382</span>&#160;        }</div>
<div class="line"><a name="l00383"></a><span class="lineno">  383</span>&#160;    }</div>
<div class="line"><a name="l00384"></a><span class="lineno">  384</span>&#160; </div>
<div class="line"><a name="l00385"></a><span class="lineno">  385</span>&#160;Exit:</div>
<div class="line"><a name="l00386"></a><span class="lineno">  386</span>&#160;    <span class="keywordflow">if</span> (aNormalSvcName) {</div>
<div class="line"><a name="l00387"></a><span class="lineno">  387</span>&#160;        DeleteAtom(aNormalSvcName);</div>
<div class="line"><a name="l00388"></a><span class="lineno">  388</span>&#160;    }</div>
<div class="line"><a name="l00389"></a><span class="lineno">  389</span>&#160;    <a class="code" href="a00062.html#a6989104e037ecc4ac73d9973485bab1f">ValidateConvList</a>(hConvListRet);</div>
<div class="line"><a name="l00390"></a><span class="lineno">  390</span>&#160;    <a class="code" href="a00086.html#a3b5310e2dd6b3c42cb13fa51a1b4e254">LeaveDDECrit</a>;</div>
<div class="line"><a name="l00391"></a><span class="lineno">  391</span>&#160;    <span class="keywordflow">return</span> (hConvListRet);</div>
<div class="line"><a name="l00392"></a><span class="lineno">  392</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00086_source.html#l00183">tagCL_INSTANCE_INFO::afCmd</a>, <a class="el" href="a00086_source.html#l00234">tagCONVLIST::ahwnd</a>, <a class="el" href="a00086_source.html#l00051">CheckDDECritOut</a>, <a class="el" href="a00086_source.html#l00233">tagCONVLIST::chwnd</a>, <a class="el" href="a00062_source.html#l00605">ConnectConv()</a>, <a class="el" href="a00155_source.html#l00075">CreateHandle()</a>, <a class="el" href="a00086_source.html#l00012">DDEMLAlloc</a>, <a class="el" href="a00086_source.html#l00014">DDEMLFree</a>, <a class="el" href="a00086_source.html#l00013">DDEMLReAlloc</a>, <a class="el" href="a00155_source.html#l00137">DestroyHandle()</a>, <a class="el" href="a00062_source.html#l00757">DisconnectConv()</a>, <a class="el" href="a00563_source.html#l00175">DWORD</a>, <a class="el" href="a00086_source.html#l00040">EnterDDECrit</a>, <a class="el" href="a00155_source.html#l00165">GetHandleData()</a>, <a class="el" href="a00086_source.html#l00178">tagCL_INSTANCE_INFO::hInstClient</a>, <a class="el" href="a00086_source.html#l00098">HTYPE_CONVERSATION_LIST</a>, <a class="el" href="a00086_source.html#l00210">tagCONV_INFO::hwndConv</a>, <a class="el" href="a00086_source.html#l00180">tagCL_INSTANCE_INFO::hwndMother</a>, <a class="el" href="a00086_source.html#l00087">InstFromHandle</a>, <a class="el" href="a00086_source.html#l00061">LATOM_FROM_HSZ</a>, <a class="el" href="a00086_source.html#l00041">LeaveDDECrit</a>, <a class="el" href="a00086_source.html#l00203">tagCONV_INFO::next</a>, <a class="el" href="a00155_source.html#l00185">SetHandleData()</a>, <a class="el" href="a00170_source.html#l00137">SetLastDDEMLError()</a>, <a class="el" href="a00062_source.html#l01107">ShutdownConversation()</a>, <a class="el" href="a00086_source.html#l00211">tagCONV_INFO::state</a>, <a class="el" href="a00950_source.html#l00117">UserAssert</a>, <a class="el" href="a00062_source.html#l00489">ValidateConnectParameters()</a> , 以及 <a class="el" href="a00062_source.html#l00100">ValidateConvList</a>.</p>

</div>
</div>
<a id="ac461c71baba4494051ddde72c4cdc022"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac461c71baba4494051ddde72c4cdc022">&#9670;&nbsp;</a></span>DdeDisconnect()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">BOOL DdeDisconnect </td>
          <td>(</td>
          <td class="paramtype">HCONV&#160;</td>
          <td class="paramname"><em>hConv</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00062_source.html">connect.c</a> 第 <a class="el" href="a00062_source.html#l01006">1006</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l01008"></a><span class="lineno"> 1008</span>&#160;{</div>
<div class="line"><a name="l01009"></a><span class="lineno"> 1009</span>&#160;    BOOL fRet = FALSE;</div>
<div class="line"><a name="l01010"></a><span class="lineno"> 1010</span>&#160;    <a class="code" href="a01845.html">PCONV_INFO</a> pcoi;</div>
<div class="line"><a name="l01011"></a><span class="lineno"> 1011</span>&#160;    <a class="code" href="a01841.html">PCL_INSTANCE_INFO</a> pcii;</div>
<div class="line"><a name="l01012"></a><span class="lineno"> 1012</span>&#160; </div>
<div class="line"><a name="l01013"></a><span class="lineno"> 1013</span>&#160;    <a class="code" href="a00086.html#af4a5ecbacfdd6845c5c37342f333ace4">CheckDDECritOut</a>;</div>
<div class="line"><a name="l01014"></a><span class="lineno"> 1014</span>&#160;    <a class="code" href="a00086.html#a8c66aaa58bd4b338d4f04ae07d4fb23a">EnterDDECrit</a>;</div>
<div class="line"><a name="l01015"></a><span class="lineno"> 1015</span>&#160; </div>
<div class="line"><a name="l01016"></a><span class="lineno"> 1016</span>&#160;    pcoi = (<a class="code" href="a00086.html#ac204a6b912ffd4404bb455e0f78d527e">PCONV_INFO</a>)<a class="code" href="a00086.html#ad5b8ef18960b493b8123fdce517dc30f">ValidateCHandle</a>((HANDLE)hConv,</div>
<div class="line"><a name="l01017"></a><span class="lineno"> 1017</span>&#160;            <a class="code" href="a00086.html#af24a0b4a7f0b1cafbdaa4f3dfa57248e">HTYPE_CLIENT_CONVERSATION</a>, <a class="code" href="a00086.html#a1404f4537352b9accf0bad83b81d3097">HINST_ANY</a>);</div>
<div class="line"><a name="l01018"></a><span class="lineno"> 1018</span>&#160;    <span class="keywordflow">if</span> (pcoi == NULL) {</div>
<div class="line"><a name="l01019"></a><span class="lineno"> 1019</span>&#160;        pcoi = (<a class="code" href="a00086.html#ac204a6b912ffd4404bb455e0f78d527e">PCONV_INFO</a>)<a class="code" href="a00086.html#ad5b8ef18960b493b8123fdce517dc30f">ValidateCHandle</a>((HANDLE)hConv,</div>
<div class="line"><a name="l01020"></a><span class="lineno"> 1020</span>&#160;                <a class="code" href="a00086.html#a32944b1cda443505f70b8e2f9f1495e6">HTYPE_SERVER_CONVERSATION</a>, <a class="code" href="a00086.html#a1404f4537352b9accf0bad83b81d3097">HINST_ANY</a>);</div>
<div class="line"><a name="l01021"></a><span class="lineno"> 1021</span>&#160;    }</div>
<div class="line"><a name="l01022"></a><span class="lineno"> 1022</span>&#160;    <span class="keywordflow">if</span> (pcoi == NULL) {</div>
<div class="line"><a name="l01023"></a><span class="lineno"> 1023</span>&#160;        <a class="code" href="a00086.html#a6e665e4ec7d374d1438e7970fb02d47c">BestSetLastDDEMLError</a>(DMLERR_INVALIDPARAMETER);</div>
<div class="line"><a name="l01024"></a><span class="lineno"> 1024</span>&#160;        <span class="keywordflow">goto</span> Exit;</div>
<div class="line"><a name="l01025"></a><span class="lineno"> 1025</span>&#160;    }</div>
<div class="line"><a name="l01026"></a><span class="lineno"> 1026</span>&#160;    pcii = <a class="code" href="a00086.html#a62263745665cb6423ab2f015a9b4b5be">PciiFromHandle</a>((HANDLE)hConv);</div>
<div class="line"><a name="l01027"></a><span class="lineno"> 1027</span>&#160;    <span class="keywordflow">if</span> (pcii == NULL) {</div>
<div class="line"><a name="l01028"></a><span class="lineno"> 1028</span>&#160;        <a class="code" href="a00086.html#a6e665e4ec7d374d1438e7970fb02d47c">BestSetLastDDEMLError</a>(DMLERR_INVALIDPARAMETER);</div>
<div class="line"><a name="l01029"></a><span class="lineno"> 1029</span>&#160;        <span class="keywordflow">goto</span> Exit;</div>
<div class="line"><a name="l01030"></a><span class="lineno"> 1030</span>&#160;    }</div>
<div class="line"><a name="l01031"></a><span class="lineno"> 1031</span>&#160;    <span class="keywordflow">if</span> (pcoi-&gt;<a class="code" href="a01845.html#a5d717a64978f34c9afb8ae23374160a0">state</a> &amp; ST_CONNECTED) {</div>
<div class="line"><a name="l01032"></a><span class="lineno"> 1032</span>&#160;        <a class="code" href="a00062.html#a38e37b3579fd0f62bdd704ec10cd472f">ShutdownConversation</a>(pcoi, FALSE);</div>
<div class="line"><a name="l01033"></a><span class="lineno"> 1033</span>&#160;    }</div>
<div class="line"><a name="l01034"></a><span class="lineno"> 1034</span>&#160;    fRet = TRUE;</div>
<div class="line"><a name="l01035"></a><span class="lineno"> 1035</span>&#160; </div>
<div class="line"><a name="l01036"></a><span class="lineno"> 1036</span>&#160;Exit:</div>
<div class="line"><a name="l01037"></a><span class="lineno"> 1037</span>&#160;    <a class="code" href="a00086.html#a3b5310e2dd6b3c42cb13fa51a1b4e254">LeaveDDECrit</a>;</div>
<div class="line"><a name="l01038"></a><span class="lineno"> 1038</span>&#160;    <span class="keywordflow">return</span> (fRet);</div>
<div class="line"><a name="l01039"></a><span class="lineno"> 1039</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00155_source.html#l00336">BestSetLastDDEMLError()</a>, <a class="el" href="a00086_source.html#l00051">CheckDDECritOut</a>, <a class="el" href="a00086_source.html#l00040">EnterDDECrit</a>, <a class="el" href="a00086_source.html#l00104">HINST_ANY</a>, <a class="el" href="a00086_source.html#l00097">HTYPE_CLIENT_CONVERSATION</a>, <a class="el" href="a00086_source.html#l00096">HTYPE_SERVER_CONVERSATION</a>, <a class="el" href="a00086_source.html#l00041">LeaveDDECrit</a>, <a class="el" href="a00155_source.html#l00226">PciiFromHandle()</a>, <a class="el" href="a00062_source.html#l01107">ShutdownConversation()</a>, <a class="el" href="a00086_source.html#l00211">tagCONV_INFO::state</a> , 以及 <a class="el" href="a00155_source.html#l00204">ValidateCHandle()</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00083_source.html#l00192">DdeUninitialize()</a>.</p>

</div>
</div>
<a id="ad6a7a258d85610ea92390d4baf13c0c5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad6a7a258d85610ea92390d4baf13c0c5">&#9670;&nbsp;</a></span>DdeDisconnectList()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">BOOL DdeDisconnectList </td>
          <td>(</td>
          <td class="paramtype">HCONVLIST&#160;</td>
          <td class="paramname"><em>hConvList</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00062_source.html">connect.c</a> 第 <a class="el" href="a00062_source.html#l01051">1051</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l01053"></a><span class="lineno"> 1053</span>&#160;{</div>
<div class="line"><a name="l01054"></a><span class="lineno"> 1054</span>&#160;    BOOL fRet = FALSE;</div>
<div class="line"><a name="l01055"></a><span class="lineno"> 1055</span>&#160;    <a class="code" href="a01841.html">PCL_INSTANCE_INFO</a> pcii;</div>
<div class="line"><a name="l01056"></a><span class="lineno"> 1056</span>&#160;    <a class="code" href="a01857.html">PCONVLIST</a> pcl;</div>
<div class="line"><a name="l01057"></a><span class="lineno"> 1057</span>&#160;    <a class="code" href="a01845.html">PCONV_INFO</a> pcoi, pcoiNext;</div>
<div class="line"><a name="l01058"></a><span class="lineno"> 1058</span>&#160;    <span class="keywordtype">int</span> i;</div>
<div class="line"><a name="l01059"></a><span class="lineno"> 1059</span>&#160; </div>
<div class="line"><a name="l01060"></a><span class="lineno"> 1060</span>&#160;    <a class="code" href="a00086.html#af4a5ecbacfdd6845c5c37342f333ace4">CheckDDECritOut</a>;</div>
<div class="line"><a name="l01061"></a><span class="lineno"> 1061</span>&#160;    <a class="code" href="a00086.html#a8c66aaa58bd4b338d4f04ae07d4fb23a">EnterDDECrit</a>;</div>
<div class="line"><a name="l01062"></a><span class="lineno"> 1062</span>&#160; </div>
<div class="line"><a name="l01063"></a><span class="lineno"> 1063</span>&#160;    pcl = (<a class="code" href="a00086.html#a6e32f41e048da966b06caf60267b5580">PCONVLIST</a>)<a class="code" href="a00086.html#ad5b8ef18960b493b8123fdce517dc30f">ValidateCHandle</a>((HANDLE)hConvList,</div>
<div class="line"><a name="l01064"></a><span class="lineno"> 1064</span>&#160;            <a class="code" href="a00086.html#a34528446d56187d633881a314c3c6c20">HTYPE_CONVERSATION_LIST</a>, <a class="code" href="a00086.html#a1404f4537352b9accf0bad83b81d3097">HINST_ANY</a>);</div>
<div class="line"><a name="l01065"></a><span class="lineno"> 1065</span>&#160;    <span class="keywordflow">if</span> (pcl == NULL) {</div>
<div class="line"><a name="l01066"></a><span class="lineno"> 1066</span>&#160;        <a class="code" href="a00086.html#a6e665e4ec7d374d1438e7970fb02d47c">BestSetLastDDEMLError</a>(DMLERR_INVALIDPARAMETER);</div>
<div class="line"><a name="l01067"></a><span class="lineno"> 1067</span>&#160;        <span class="keywordflow">goto</span> Exit;</div>
<div class="line"><a name="l01068"></a><span class="lineno"> 1068</span>&#160;    }</div>
<div class="line"><a name="l01069"></a><span class="lineno"> 1069</span>&#160;    <a class="code" href="a00062.html#a6989104e037ecc4ac73d9973485bab1f">ValidateConvList</a>(hConvList);</div>
<div class="line"><a name="l01070"></a><span class="lineno"> 1070</span>&#160;    pcii = <a class="code" href="a00086.html#a62263745665cb6423ab2f015a9b4b5be">PciiFromHandle</a>((HANDLE)hConvList);</div>
<div class="line"><a name="l01071"></a><span class="lineno"> 1071</span>&#160;    <span class="keywordflow">if</span> (pcii == NULL) {</div>
<div class="line"><a name="l01072"></a><span class="lineno"> 1072</span>&#160;        <a class="code" href="a00086.html#a6e665e4ec7d374d1438e7970fb02d47c">BestSetLastDDEMLError</a>(DMLERR_INVALIDPARAMETER);</div>
<div class="line"><a name="l01073"></a><span class="lineno"> 1073</span>&#160;        <span class="keywordflow">goto</span> Exit;</div>
<div class="line"><a name="l01074"></a><span class="lineno"> 1074</span>&#160;    }</div>
<div class="line"><a name="l01075"></a><span class="lineno"> 1075</span>&#160; </div>
<div class="line"><a name="l01076"></a><span class="lineno"> 1076</span>&#160;    <span class="keywordflow">for</span>(i = pcl-&gt;<a class="code" href="a01857.html#a4790abb1d49e1e3ec035ae70eef5cf2f">chwnd</a> - 1; i &gt;= 0; i--) {</div>
<div class="line"><a name="l01077"></a><span class="lineno"> 1077</span>&#160;        pcoi = (<a class="code" href="a00086.html#ac204a6b912ffd4404bb455e0f78d527e">PCONV_INFO</a>)GetWindowLong(pcl-&gt;<a class="code" href="a01857.html#a620348880fc95c088c58c878ff8ba55a">ahwnd</a>[i], GWL_PCI);</div>
<div class="line"><a name="l01078"></a><span class="lineno"> 1078</span>&#160;        <span class="keywordflow">while</span> (pcoi != NULL &amp;&amp; pcoi-&gt;<a class="code" href="a01845.html#a5d717a64978f34c9afb8ae23374160a0">state</a> &amp; ST_CONNECTED) {</div>
<div class="line"><a name="l01079"></a><span class="lineno"> 1079</span>&#160;            pcoiNext = pcoi-&gt;<a class="code" href="a01845.html#a6f9fff70be46542c217424f5f415821a">next</a>;</div>
<div class="line"><a name="l01080"></a><span class="lineno"> 1080</span>&#160;            <a class="code" href="a00062.html#a38e37b3579fd0f62bdd704ec10cd472f">ShutdownConversation</a>(pcoi, FALSE);  <span class="comment">// may unlink pcoi!</span></div>
<div class="line"><a name="l01081"></a><span class="lineno"> 1081</span>&#160;            pcoi = pcoiNext;</div>
<div class="line"><a name="l01082"></a><span class="lineno"> 1082</span>&#160;        }</div>
<div class="line"><a name="l01083"></a><span class="lineno"> 1083</span>&#160;    }</div>
<div class="line"><a name="l01084"></a><span class="lineno"> 1084</span>&#160; </div>
<div class="line"><a name="l01085"></a><span class="lineno"> 1085</span>&#160;    <a class="code" href="a00086.html#a49f0ae82e6897f4c6208f18e7c04d787">DestroyHandle</a>((HANDLE)hConvList);</div>
<div class="line"><a name="l01086"></a><span class="lineno"> 1086</span>&#160;    <a class="code" href="a00086.html#a14b7b2abd485b184293dcd3d34c29e23">DDEMLFree</a>(pcl);</div>
<div class="line"><a name="l01087"></a><span class="lineno"> 1087</span>&#160;    fRet = TRUE;</div>
<div class="line"><a name="l01088"></a><span class="lineno"> 1088</span>&#160; </div>
<div class="line"><a name="l01089"></a><span class="lineno"> 1089</span>&#160;Exit:</div>
<div class="line"><a name="l01090"></a><span class="lineno"> 1090</span>&#160;    <a class="code" href="a00086.html#a3b5310e2dd6b3c42cb13fa51a1b4e254">LeaveDDECrit</a>;</div>
<div class="line"><a name="l01091"></a><span class="lineno"> 1091</span>&#160;    <span class="keywordflow">return</span> (fRet);</div>
<div class="line"><a name="l01092"></a><span class="lineno"> 1092</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00086_source.html#l00234">tagCONVLIST::ahwnd</a>, <a class="el" href="a00155_source.html#l00336">BestSetLastDDEMLError()</a>, <a class="el" href="a00086_source.html#l00051">CheckDDECritOut</a>, <a class="el" href="a00086_source.html#l00233">tagCONVLIST::chwnd</a>, <a class="el" href="a00086_source.html#l00014">DDEMLFree</a>, <a class="el" href="a00155_source.html#l00137">DestroyHandle()</a>, <a class="el" href="a00086_source.html#l00040">EnterDDECrit</a>, <a class="el" href="a00086_source.html#l00104">HINST_ANY</a>, <a class="el" href="a00086_source.html#l00098">HTYPE_CONVERSATION_LIST</a>, <a class="el" href="a00086_source.html#l00041">LeaveDDECrit</a>, <a class="el" href="a00086_source.html#l00203">tagCONV_INFO::next</a>, <a class="el" href="a00155_source.html#l00226">PciiFromHandle()</a>, <a class="el" href="a00062_source.html#l01107">ShutdownConversation()</a>, <a class="el" href="a00086_source.html#l00211">tagCONV_INFO::state</a>, <a class="el" href="a00155_source.html#l00204">ValidateCHandle()</a> , 以及 <a class="el" href="a00062_source.html#l00100">ValidateConvList</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00083_source.html#l00192">DdeUninitialize()</a>.</p>

</div>
</div>
<a id="aaafc909293cd4346783a2887c3be89f6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaafc909293cd4346783a2887c3be89f6">&#9670;&nbsp;</a></span>DdeQueryNextServer()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">HCONV DdeQueryNextServer </td>
          <td>(</td>
          <td class="paramtype">HCONVLIST&#160;</td>
          <td class="paramname"><em>hConvList</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">HCONV&#160;</td>
          <td class="paramname"><em>hConvPrev</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00062_source.html">connect.c</a> 第 <a class="el" href="a00062_source.html#l00904">904</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00907"></a><span class="lineno">  907</span>&#160;{</div>
<div class="line"><a name="l00908"></a><span class="lineno">  908</span>&#160;    HCONV hConvRet = 0;</div>
<div class="line"><a name="l00909"></a><span class="lineno">  909</span>&#160;    <a class="code" href="a01857.html">PCONVLIST</a> pcl;</div>
<div class="line"><a name="l00910"></a><span class="lineno">  910</span>&#160;    HWND *phwnd;</div>
<div class="line"><a name="l00911"></a><span class="lineno">  911</span>&#160;    <span class="keywordtype">int</span> i;</div>
<div class="line"><a name="l00912"></a><span class="lineno">  912</span>&#160;    <a class="code" href="a01849.html">PCL_CONV_INFO</a> pci;</div>
<div class="line"><a name="l00913"></a><span class="lineno">  913</span>&#160;    <a class="code" href="a01841.html">PCL_INSTANCE_INFO</a> pcii;</div>
<div class="line"><a name="l00914"></a><span class="lineno">  914</span>&#160; </div>
<div class="line"><a name="l00915"></a><span class="lineno">  915</span>&#160;    <a class="code" href="a00086.html#a8c66aaa58bd4b338d4f04ae07d4fb23a">EnterDDECrit</a>;</div>
<div class="line"><a name="l00916"></a><span class="lineno">  916</span>&#160; </div>
<div class="line"><a name="l00917"></a><span class="lineno">  917</span>&#160;    pcl = (<a class="code" href="a00086.html#a6e32f41e048da966b06caf60267b5580">PCONVLIST</a>)<a class="code" href="a00086.html#ad5b8ef18960b493b8123fdce517dc30f">ValidateCHandle</a>((HANDLE)hConvList,</div>
<div class="line"><a name="l00918"></a><span class="lineno">  918</span>&#160;            <a class="code" href="a00086.html#a34528446d56187d633881a314c3c6c20">HTYPE_CONVERSATION_LIST</a>, <a class="code" href="a00086.html#a1404f4537352b9accf0bad83b81d3097">HINST_ANY</a>);</div>
<div class="line"><a name="l00919"></a><span class="lineno">  919</span>&#160;    <span class="keywordflow">if</span> (pcl == NULL) {</div>
<div class="line"><a name="l00920"></a><span class="lineno">  920</span>&#160;        <a class="code" href="a00086.html#a6e665e4ec7d374d1438e7970fb02d47c">BestSetLastDDEMLError</a>(DMLERR_INVALIDPARAMETER);</div>
<div class="line"><a name="l00921"></a><span class="lineno">  921</span>&#160;        <span class="keywordflow">goto</span> Exit;</div>
<div class="line"><a name="l00922"></a><span class="lineno">  922</span>&#160;    }</div>
<div class="line"><a name="l00923"></a><span class="lineno">  923</span>&#160;    <span class="keywordflow">if</span> (!pcl-&gt;<a class="code" href="a01857.html#a4790abb1d49e1e3ec035ae70eef5cf2f">chwnd</a>) {      <span class="comment">// empty list</span></div>
<div class="line"><a name="l00924"></a><span class="lineno">  924</span>&#160;        <span class="keywordflow">goto</span> Exit;</div>
<div class="line"><a name="l00925"></a><span class="lineno">  925</span>&#160;    }</div>
<div class="line"><a name="l00926"></a><span class="lineno">  926</span>&#160;    pcii = <a class="code" href="a00086.html#a62263745665cb6423ab2f015a9b4b5be">PciiFromHandle</a>((HANDLE)hConvList);</div>
<div class="line"><a name="l00927"></a><span class="lineno">  927</span>&#160;    <span class="keywordflow">if</span> (pcii == NULL) {</div>
<div class="line"><a name="l00928"></a><span class="lineno">  928</span>&#160;        <a class="code" href="a00086.html#a6e665e4ec7d374d1438e7970fb02d47c">BestSetLastDDEMLError</a>(DMLERR_INVALIDPARAMETER);</div>
<div class="line"><a name="l00929"></a><span class="lineno">  929</span>&#160;        <span class="keywordflow">goto</span> Exit;</div>
<div class="line"><a name="l00930"></a><span class="lineno">  930</span>&#160;    }</div>
<div class="line"><a name="l00931"></a><span class="lineno">  931</span>&#160; </div>
<div class="line"><a name="l00932"></a><span class="lineno">  932</span>&#160;    pcii-&gt;<a class="code" href="a01841.html#a4adee47baa975d0bf7a9293f02dd1f8d">LastError</a> = DMLERR_NO_ERROR;</div>
<div class="line"><a name="l00933"></a><span class="lineno">  933</span>&#160; </div>
<div class="line"><a name="l00934"></a><span class="lineno">  934</span>&#160;    <span class="keywordflow">do</span> {</div>
<div class="line"><a name="l00935"></a><span class="lineno">  935</span>&#160; </div>
<div class="line"><a name="l00936"></a><span class="lineno">  936</span>&#160;        hConvRet = 0;</div>
<div class="line"><a name="l00937"></a><span class="lineno">  937</span>&#160; </div>
<div class="line"><a name="l00938"></a><span class="lineno">  938</span>&#160;        <span class="keywordflow">if</span> (hConvPrev == 0) {</div>
<div class="line"><a name="l00939"></a><span class="lineno">  939</span>&#160;            pci = (<a class="code" href="a00086.html#a3dc39629249824029407d9b5954b34f5">PCL_CONV_INFO</a>)GetWindowLong(pcl-&gt;<a class="code" href="a01857.html#a620348880fc95c088c58c878ff8ba55a">ahwnd</a>[0], GWL_PCI);</div>
<div class="line"><a name="l00940"></a><span class="lineno">  940</span>&#160;            <span class="keywordflow">if</span> (pci == NULL) {</div>
<div class="line"><a name="l00941"></a><span class="lineno">  941</span>&#160;                <span class="keywordflow">goto</span> Exit;  <span class="comment">// Must have all conversations zombied.</span></div>
<div class="line"><a name="l00942"></a><span class="lineno">  942</span>&#160;            }</div>
<div class="line"><a name="l00943"></a><span class="lineno">  943</span>&#160;            hConvPrev = hConvRet = pci-&gt;<a class="code" href="a01849.html#a32c7595834535b04b8e88dd6ddb09d47">ci</a>.<a class="code" href="a01845.html#aed1dfd4816a13b9e20712ad7049e1fcc">hConv</a>;</div>
<div class="line"><a name="l00944"></a><span class="lineno">  944</span>&#160;            <span class="keywordflow">continue</span>;</div>
<div class="line"><a name="l00945"></a><span class="lineno">  945</span>&#160;        }</div>
<div class="line"><a name="l00946"></a><span class="lineno">  946</span>&#160; </div>
<div class="line"><a name="l00947"></a><span class="lineno">  947</span>&#160;        pci = (<a class="code" href="a00086.html#a3dc39629249824029407d9b5954b34f5">PCL_CONV_INFO</a>)<a class="code" href="a00086.html#ad5b8ef18960b493b8123fdce517dc30f">ValidateCHandle</a>((HANDLE)hConvPrev,</div>
<div class="line"><a name="l00948"></a><span class="lineno">  948</span>&#160;                <a class="code" href="a00086.html#af24a0b4a7f0b1cafbdaa4f3dfa57248e">HTYPE_CLIENT_CONVERSATION</a>, <a class="code" href="a00086.html#a6a2176afcdf096eb6add39fa9d673f80">InstFromHandle</a>(hConvList));</div>
<div class="line"><a name="l00949"></a><span class="lineno">  949</span>&#160;        <span class="keywordflow">if</span> (pci == NULL) {</div>
<div class="line"><a name="l00950"></a><span class="lineno">  950</span>&#160;            pci = (<a class="code" href="a00086.html#a3dc39629249824029407d9b5954b34f5">PCL_CONV_INFO</a>)<a class="code" href="a00086.html#ad5b8ef18960b493b8123fdce517dc30f">ValidateCHandle</a>((HANDLE)hConvPrev,</div>
<div class="line"><a name="l00951"></a><span class="lineno">  951</span>&#160;                    <a class="code" href="a00086.html#a0660b85f18aadfcf2c8dead0124a746a">HTYPE_ZOMBIE_CONVERSATION</a>, <a class="code" href="a00086.html#a6a2176afcdf096eb6add39fa9d673f80">InstFromHandle</a>(hConvList));</div>
<div class="line"><a name="l00952"></a><span class="lineno">  952</span>&#160;            <span class="keywordflow">if</span> (pci == NULL) {</div>
<div class="line"><a name="l00953"></a><span class="lineno">  953</span>&#160;                <a class="code" href="a00086.html#a8b2e79f5b5173a6fbfeb65e2195720c3">SetLastDDEMLError</a>(pcii, DMLERR_INVALIDPARAMETER);</div>
<div class="line"><a name="l00954"></a><span class="lineno">  954</span>&#160;                <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00955"></a><span class="lineno">  955</span>&#160;            } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00956"></a><span class="lineno">  956</span>&#160;                <span class="keywordflow">goto</span> ZombieSkip;</div>
<div class="line"><a name="l00957"></a><span class="lineno">  957</span>&#160;            }</div>
<div class="line"><a name="l00958"></a><span class="lineno">  958</span>&#160;        }</div>
<div class="line"><a name="l00959"></a><span class="lineno">  959</span>&#160; </div>
<div class="line"><a name="l00960"></a><span class="lineno">  960</span>&#160;        <span class="keywordflow">if</span> (pci-&gt;<a class="code" href="a01849.html#a18a38472c38612dfaa3a8d5bb1361008">hConvList</a> != hConvList) {</div>
<div class="line"><a name="l00961"></a><span class="lineno">  961</span>&#160;            <a class="code" href="a00086.html#a8b2e79f5b5173a6fbfeb65e2195720c3">SetLastDDEMLError</a>(pcii, DMLERR_INVALIDPARAMETER);</div>
<div class="line"><a name="l00962"></a><span class="lineno">  962</span>&#160;            <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00963"></a><span class="lineno">  963</span>&#160;        }</div>
<div class="line"><a name="l00964"></a><span class="lineno">  964</span>&#160; </div>
<div class="line"><a name="l00965"></a><span class="lineno">  965</span>&#160;ZombieSkip:</div>
<div class="line"><a name="l00966"></a><span class="lineno">  966</span>&#160; </div>
<div class="line"><a name="l00967"></a><span class="lineno">  967</span>&#160;        <span class="keywordflow">if</span> (pci-&gt;<a class="code" href="a01849.html#a32c7595834535b04b8e88dd6ddb09d47">ci</a>.<a class="code" href="a01845.html#a6f9fff70be46542c217424f5f415821a">next</a> == NULL) {</div>
<div class="line"><a name="l00968"></a><span class="lineno">  968</span>&#160; </div>
<div class="line"><a name="l00969"></a><span class="lineno">  969</span>&#160;            <span class="comment">/*</span></div>
<div class="line"><a name="l00970"></a><span class="lineno">  970</span>&#160;<span class="comment">             * end of list for this window, go to next window</span></div>
<div class="line"><a name="l00971"></a><span class="lineno">  971</span>&#160;<span class="comment">             */</span></div>
<div class="line"><a name="l00972"></a><span class="lineno">  972</span>&#160;            <span class="keywordflow">for</span> (phwnd = pcl-&gt;<a class="code" href="a01857.html#a620348880fc95c088c58c878ff8ba55a">ahwnd</a>, i = 0; (i + 1) &lt; pcl-&gt;<a class="code" href="a01857.html#a4790abb1d49e1e3ec035ae70eef5cf2f">chwnd</a>; i++) {</div>
<div class="line"><a name="l00973"></a><span class="lineno">  973</span>&#160;                <span class="keywordflow">if</span> (phwnd[i] == pci-&gt;<a class="code" href="a01849.html#a32c7595834535b04b8e88dd6ddb09d47">ci</a>.<a class="code" href="a01845.html#aba9f8f0b5693cc2b4e3e1399bb9db05f">hwndConv</a>) {</div>
<div class="line"><a name="l00974"></a><span class="lineno">  974</span>&#160;                    pci = (<a class="code" href="a00086.html#a3dc39629249824029407d9b5954b34f5">PCL_CONV_INFO</a>)GetWindowLong(phwnd[i + 1], GWL_PCI);</div>
<div class="line"><a name="l00975"></a><span class="lineno">  975</span>&#160;                    <span class="keywordflow">if</span> (pci == NULL) {</div>
<div class="line"><a name="l00976"></a><span class="lineno">  976</span>&#160;                        <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00977"></a><span class="lineno">  977</span>&#160;                    }</div>
<div class="line"><a name="l00978"></a><span class="lineno">  978</span>&#160;                    hConvPrev = hConvRet = pci-&gt;<a class="code" href="a01849.html#a32c7595834535b04b8e88dd6ddb09d47">ci</a>.<a class="code" href="a01845.html#aed1dfd4816a13b9e20712ad7049e1fcc">hConv</a>;</div>
<div class="line"><a name="l00979"></a><span class="lineno">  979</span>&#160;                    <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00980"></a><span class="lineno">  980</span>&#160;                }</div>
<div class="line"><a name="l00981"></a><span class="lineno">  981</span>&#160;            }</div>
<div class="line"><a name="l00982"></a><span class="lineno">  982</span>&#160;        } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00983"></a><span class="lineno">  983</span>&#160; </div>
<div class="line"><a name="l00984"></a><span class="lineno">  984</span>&#160;            hConvPrev = hConvRet = pci-&gt;<a class="code" href="a01849.html#a32c7595834535b04b8e88dd6ddb09d47">ci</a>.<a class="code" href="a01845.html#a6f9fff70be46542c217424f5f415821a">next</a>-&gt;<a class="code" href="a01845.html#aed1dfd4816a13b9e20712ad7049e1fcc">hConv</a>; <span class="comment">// next conv for this window.</span></div>
<div class="line"><a name="l00985"></a><span class="lineno">  985</span>&#160;        }</div>
<div class="line"><a name="l00986"></a><span class="lineno">  986</span>&#160; </div>
<div class="line"><a name="l00987"></a><span class="lineno">  987</span>&#160;    } <span class="keywordflow">while</span> (hConvRet &amp;&amp; <a class="code" href="a00086.html#a9f92b4400059a7c08adc8bafc2925fc2">TypeFromHandle</a>(hConvRet) == <a class="code" href="a00086.html#a0660b85f18aadfcf2c8dead0124a746a">HTYPE_ZOMBIE_CONVERSATION</a>);</div>
<div class="line"><a name="l00988"></a><span class="lineno">  988</span>&#160;Exit:</div>
<div class="line"><a name="l00989"></a><span class="lineno">  989</span>&#160;    <a class="code" href="a00086.html#a3b5310e2dd6b3c42cb13fa51a1b4e254">LeaveDDECrit</a>;</div>
<div class="line"><a name="l00990"></a><span class="lineno">  990</span>&#160;    <span class="keywordflow">return</span> (hConvRet);</div>
<div class="line"><a name="l00991"></a><span class="lineno">  991</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00086_source.html#l00234">tagCONVLIST::ahwnd</a>, <a class="el" href="a00155_source.html#l00336">BestSetLastDDEMLError()</a>, <a class="el" href="a00086_source.html#l00233">tagCONVLIST::chwnd</a>, <a class="el" href="a00086_source.html#l00223">tagCL_CONV_INFO::ci</a>, <a class="el" href="a00086_source.html#l00040">EnterDDECrit</a>, <a class="el" href="a00086_source.html#l00206">tagCONV_INFO::hConv</a>, <a class="el" href="a00086_source.html#l00225">tagCL_CONV_INFO::hConvList</a>, <a class="el" href="a00086_source.html#l00104">HINST_ANY</a>, <a class="el" href="a00086_source.html#l00097">HTYPE_CLIENT_CONVERSATION</a>, <a class="el" href="a00086_source.html#l00098">HTYPE_CONVERSATION_LIST</a>, <a class="el" href="a00086_source.html#l00101">HTYPE_ZOMBIE_CONVERSATION</a>, <a class="el" href="a00086_source.html#l00210">tagCONV_INFO::hwndConv</a>, <a class="el" href="a00086_source.html#l00087">InstFromHandle</a>, <a class="el" href="a00086_source.html#l00185">tagCL_INSTANCE_INFO::LastError</a>, <a class="el" href="a00086_source.html#l00041">LeaveDDECrit</a>, <a class="el" href="a00086_source.html#l00203">tagCONV_INFO::next</a>, <a class="el" href="a00155_source.html#l00226">PciiFromHandle()</a>, <a class="el" href="a00170_source.html#l00137">SetLastDDEMLError()</a>, <a class="el" href="a00086_source.html#l00086">TypeFromHandle</a> , 以及 <a class="el" href="a00155_source.html#l00204">ValidateCHandle()</a>.</p>

</div>
</div>
<a id="a27a5ac8e9656241050179b8016cad354"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a27a5ac8e9656241050179b8016cad354">&#9670;&nbsp;</a></span>DdeReconnect()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">HCONV DdeReconnect </td>
          <td>(</td>
          <td class="paramtype">HCONV&#160;</td>
          <td class="paramname"><em>hConv</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00062_source.html">connect.c</a> 第 <a class="el" href="a00062_source.html#l00407">407</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00409"></a><span class="lineno">  409</span>&#160;{</div>
<div class="line"><a name="l00410"></a><span class="lineno">  410</span>&#160;    <a class="code" href="a01841.html">PCL_INSTANCE_INFO</a> pcii;</div>
<div class="line"><a name="l00411"></a><span class="lineno">  411</span>&#160;    <a class="code" href="a01849.html">PCL_CONV_INFO</a> pci, pciNew;</div>
<div class="line"><a name="l00412"></a><span class="lineno">  412</span>&#160;    HCONV hConvRet = 0;</div>
<div class="line"><a name="l00413"></a><span class="lineno">  413</span>&#160;    CONVCONTEXT cc;</div>
<div class="line"><a name="l00414"></a><span class="lineno">  414</span>&#160; </div>
<div class="line"><a name="l00415"></a><span class="lineno">  415</span>&#160;    <a class="code" href="a00086.html#a8c66aaa58bd4b338d4f04ae07d4fb23a">EnterDDECrit</a>;</div>
<div class="line"><a name="l00416"></a><span class="lineno">  416</span>&#160; </div>
<div class="line"><a name="l00417"></a><span class="lineno">  417</span>&#160;    pcii = <a class="code" href="a00086.html#a62263745665cb6423ab2f015a9b4b5be">PciiFromHandle</a>((HANDLE)hConv);</div>
<div class="line"><a name="l00418"></a><span class="lineno">  418</span>&#160;    <span class="keywordflow">if</span> (pcii == NULL) {</div>
<div class="line"><a name="l00419"></a><span class="lineno">  419</span>&#160;        <a class="code" href="a00086.html#a6e665e4ec7d374d1438e7970fb02d47c">BestSetLastDDEMLError</a>(DMLERR_INVALIDPARAMETER);</div>
<div class="line"><a name="l00420"></a><span class="lineno">  420</span>&#160;        <span class="keywordflow">goto</span> Exit;</div>
<div class="line"><a name="l00421"></a><span class="lineno">  421</span>&#160;    }</div>
<div class="line"><a name="l00422"></a><span class="lineno">  422</span>&#160;    pci = (<a class="code" href="a00086.html#a3dc39629249824029407d9b5954b34f5">PCL_CONV_INFO</a>)<a class="code" href="a00086.html#ad5b8ef18960b493b8123fdce517dc30f">ValidateCHandle</a>((HANDLE)hConv,</div>
<div class="line"><a name="l00423"></a><span class="lineno">  423</span>&#160;            <a class="code" href="a00086.html#af24a0b4a7f0b1cafbdaa4f3dfa57248e">HTYPE_CLIENT_CONVERSATION</a>, <a class="code" href="a00086.html#a1404f4537352b9accf0bad83b81d3097">HINST_ANY</a>);</div>
<div class="line"><a name="l00424"></a><span class="lineno">  424</span>&#160;    <span class="keywordflow">if</span> (pci == NULL) {</div>
<div class="line"><a name="l00425"></a><span class="lineno">  425</span>&#160;        <a class="code" href="a00086.html#a8b2e79f5b5173a6fbfeb65e2195720c3">SetLastDDEMLError</a>(pcii, DMLERR_INVALIDPARAMETER);</div>
<div class="line"><a name="l00426"></a><span class="lineno">  426</span>&#160;        <span class="keywordflow">goto</span> Exit;</div>
<div class="line"><a name="l00427"></a><span class="lineno">  427</span>&#160;    }</div>
<div class="line"><a name="l00428"></a><span class="lineno">  428</span>&#160; </div>
<div class="line"><a name="l00429"></a><span class="lineno">  429</span>&#160;    <span class="keywordflow">if</span> (pci-&gt;<a class="code" href="a01849.html#a32c7595834535b04b8e88dd6ddb09d47">ci</a>.<a class="code" href="a01845.html#a5d717a64978f34c9afb8ae23374160a0">state</a> &amp; ST_CONNECTED) {</div>
<div class="line"><a name="l00430"></a><span class="lineno">  430</span>&#160;        <span class="keywordflow">goto</span> Exit;</div>
<div class="line"><a name="l00431"></a><span class="lineno">  431</span>&#160;    }</div>
<div class="line"><a name="l00432"></a><span class="lineno">  432</span>&#160; </div>
<div class="line"><a name="l00433"></a><span class="lineno">  433</span>&#160;    <a class="code" href="a00086.html#aa23a5781d2648130b7fe700b25e3b157">GetConvContext</a>(pci-&gt;<a class="code" href="a01849.html#a32c7595834535b04b8e88dd6ddb09d47">ci</a>.<a class="code" href="a01845.html#aba9f8f0b5693cc2b4e3e1399bb9db05f">hwndConv</a>, (LONG *)&amp;cc);</div>
<div class="line"><a name="l00434"></a><span class="lineno">  434</span>&#160;    pciNew = <a class="code" href="a00062.html#ad714b9dfd0100246ad2ae128fec95f98">ConnectConv</a>(pcii, pci-&gt;<a class="code" href="a01849.html#a32c7595834535b04b8e88dd6ddb09d47">ci</a>.<a class="code" href="a01845.html#a5234fbd6988274cd28565970f54a110c">laService</a>, pci-&gt;<a class="code" href="a01849.html#a32c7595834535b04b8e88dd6ddb09d47">ci</a>.<a class="code" href="a01845.html#a037642095df06ec39ad1a904cc1f7c30">laTopic</a>,</div>
<div class="line"><a name="l00435"></a><span class="lineno">  435</span>&#160;            pci-&gt;<a class="code" href="a01849.html#ae2aa0a1e8bf12852487eb7c761fc1e46">hwndReconnect</a>, 0, &amp;cc, 0, CLST_SINGLE_INITIALIZING);</div>
<div class="line"><a name="l00436"></a><span class="lineno">  436</span>&#160;    <span class="keywordflow">if</span> (pciNew == NULL) {</div>
<div class="line"><a name="l00437"></a><span class="lineno">  437</span>&#160;        <a class="code" href="a00086.html#a8b2e79f5b5173a6fbfeb65e2195720c3">SetLastDDEMLError</a>(pcii, DMLERR_NO_CONV_ESTABLISHED);</div>
<div class="line"><a name="l00438"></a><span class="lineno">  438</span>&#160;        <span class="keywordflow">goto</span> Exit;</div>
<div class="line"><a name="l00439"></a><span class="lineno">  439</span>&#160;    } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00440"></a><span class="lineno">  440</span>&#160;        hConvRet = pciNew-&gt;<a class="code" href="a01849.html#a32c7595834535b04b8e88dd6ddb09d47">ci</a>.<a class="code" href="a01845.html#aed1dfd4816a13b9e20712ad7049e1fcc">hConv</a>;</div>
<div class="line"><a name="l00441"></a><span class="lineno">  441</span>&#160;        <span class="keywordflow">if</span> (pci-&gt;<a class="code" href="a01849.html#a32c7595834535b04b8e88dd6ddb09d47">ci</a>.<a class="code" href="a01845.html#abb1c8670b152a59cef661dba09b0d09a">cLinks</a>) {</div>
<div class="line"><a name="l00442"></a><span class="lineno">  442</span>&#160;            <a class="code" href="a01821.html">PXACT_INFO</a> pxi;</div>
<div class="line"><a name="l00443"></a><span class="lineno">  443</span>&#160;            <span class="keywordtype">int</span> iLink;</div>
<div class="line"><a name="l00444"></a><span class="lineno">  444</span>&#160;            <a class="code" href="a01825.html">PADVISE_LINK</a> paLink;</div>
<div class="line"><a name="l00445"></a><span class="lineno">  445</span>&#160; </div>
<div class="line"><a name="l00446"></a><span class="lineno">  446</span>&#160;            <span class="comment">/*</span></div>
<div class="line"><a name="l00447"></a><span class="lineno">  447</span>&#160;<span class="comment">             * reestablish advise links</span></div>
<div class="line"><a name="l00448"></a><span class="lineno">  448</span>&#160;<span class="comment">             */</span></div>
<div class="line"><a name="l00449"></a><span class="lineno">  449</span>&#160; </div>
<div class="line"><a name="l00450"></a><span class="lineno">  450</span>&#160;            <span class="keywordflow">for</span> (paLink = pci-&gt;<a class="code" href="a01849.html#a32c7595834535b04b8e88dd6ddb09d47">ci</a>.<a class="code" href="a01845.html#abd6ddc0ca811ba45f97e1052e24c92f7">aLinks</a>, iLink = pci-&gt;<a class="code" href="a01849.html#a32c7595834535b04b8e88dd6ddb09d47">ci</a>.<a class="code" href="a01845.html#abb1c8670b152a59cef661dba09b0d09a">cLinks</a>;</div>
<div class="line"><a name="l00451"></a><span class="lineno">  451</span>&#160;                    iLink; paLink++, iLink--) {</div>
<div class="line"><a name="l00452"></a><span class="lineno">  452</span>&#160; </div>
<div class="line"><a name="l00453"></a><span class="lineno">  453</span>&#160;                pxi = (<a class="code" href="a00086.html#a908a74e7a82f658e6725be8a2891f24e">PXACT_INFO</a>)<a class="code" href="a00086.html#acc904eaf46cb98fa7741658d8e00f06c">DDEMLAlloc</a>(<span class="keyword">sizeof</span>(<a class="code" href="a01821.html">XACT_INFO</a>));</div>
<div class="line"><a name="l00454"></a><span class="lineno">  454</span>&#160;                <span class="keywordflow">if</span> (pxi == NULL) {</div>
<div class="line"><a name="l00455"></a><span class="lineno">  455</span>&#160;                    <span class="keywordflow">break</span>;              <span class="comment">// abort relinking</span></div>
<div class="line"><a name="l00456"></a><span class="lineno">  456</span>&#160;                }</div>
<div class="line"><a name="l00457"></a><span class="lineno">  457</span>&#160;                pxi-&gt;<a class="code" href="a01821.html#a05a65f9f292bfebcf667b325200292f0">pcoi</a> = (<a class="code" href="a00086.html#ac204a6b912ffd4404bb455e0f78d527e">PCONV_INFO</a>)pciNew;</div>
<div class="line"><a name="l00458"></a><span class="lineno">  458</span>&#160;                pxi-&gt;<a class="code" href="a01821.html#ad0b56899c2df27096898ccce24547723">gaItem</a> = <a class="code" href="a00086.html#acf65a97e9c6a58c917c8a0c1a4209c03">LocalToGlobalAtom</a>(paLink-&gt;<a class="code" href="a01825.html#a491330cc2632c738dbfac1d6393eedb6">laItem</a>); <span class="comment">// pxi copy</span></div>
<div class="line"><a name="l00459"></a><span class="lineno">  459</span>&#160;                pxi-&gt;<a class="code" href="a01821.html#ac6ac629d505432bedeb5cb3b7123ac98">wFmt</a> = paLink-&gt;<a class="code" href="a01825.html#ac6ac629d505432bedeb5cb3b7123ac98">wFmt</a>;</div>
<div class="line"><a name="l00460"></a><span class="lineno">  460</span>&#160;                pxi-&gt;<a class="code" href="a01821.html#aedf49a5424d4d9ad2cf1817a726c165f">wType</a> = (WORD)((paLink-&gt;<a class="code" href="a01825.html#aedf49a5424d4d9ad2cf1817a726c165f">wType</a> &gt;&gt; 12) | XTYP_ADVSTART);</div>
<div class="line"><a name="l00461"></a><span class="lineno">  461</span>&#160;                <span class="keywordflow">if</span> (<a class="code" href="a00086.html#af44bf1d07cfc3fd9da468e05c1028be6">ClStartAdvise</a>(pxi)) {</div>
<div class="line"><a name="l00462"></a><span class="lineno">  462</span>&#160;                    pxi-&gt;<a class="code" href="a01821.html#aa5250ff1f63a5d1730bc299c7a96b6af">flags</a> |= <a class="code" href="a00086.html#a719adb0898e764e3a14eaaad50bf7606">XIF_ABANDONED</a>;</div>
<div class="line"><a name="l00463"></a><span class="lineno">  463</span>&#160;                } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00464"></a><span class="lineno">  464</span>&#160;                    GlobalDeleteAtom(pxi-&gt;<a class="code" href="a01821.html#ad0b56899c2df27096898ccce24547723">gaItem</a>);</div>
<div class="line"><a name="l00465"></a><span class="lineno">  465</span>&#160;                    <a class="code" href="a00086.html#a14b7b2abd485b184293dcd3d34c29e23">DDEMLFree</a>(pxi);</div>
<div class="line"><a name="l00466"></a><span class="lineno">  466</span>&#160;                }</div>
<div class="line"><a name="l00467"></a><span class="lineno">  467</span>&#160;            }</div>
<div class="line"><a name="l00468"></a><span class="lineno">  468</span>&#160;        }</div>
<div class="line"><a name="l00469"></a><span class="lineno">  469</span>&#160;    }</div>
<div class="line"><a name="l00470"></a><span class="lineno">  470</span>&#160; </div>
<div class="line"><a name="l00471"></a><span class="lineno">  471</span>&#160;Exit:</div>
<div class="line"><a name="l00472"></a><span class="lineno">  472</span>&#160;    <a class="code" href="a00086.html#a3b5310e2dd6b3c42cb13fa51a1b4e254">LeaveDDECrit</a>;</div>
<div class="line"><a name="l00473"></a><span class="lineno">  473</span>&#160;    <span class="keywordflow">return</span> (hConvRet);</div>
<div class="line"><a name="l00474"></a><span class="lineno">  474</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00086_source.html#l00217">tagCONV_INFO::aLinks</a>, <a class="el" href="a00155_source.html#l00336">BestSetLastDDEMLError()</a>, <a class="el" href="a00086_source.html#l00223">tagCL_CONV_INFO::ci</a>, <a class="el" href="a00086_source.html#l00218">tagCONV_INFO::cLinks</a>, <a class="el" href="a00251_source.html#l00065">ClStartAdvise()</a>, <a class="el" href="a00062_source.html#l00605">ConnectConv()</a>, <a class="el" href="a00086_source.html#l00012">DDEMLAlloc</a>, <a class="el" href="a00086_source.html#l00014">DDEMLFree</a>, <a class="el" href="a00086_source.html#l00040">EnterDDECrit</a>, <a class="el" href="a00086_source.html#l00122">tagXACT_INFO::flags</a>, <a class="el" href="a00086_source.html#l00118">tagXACT_INFO::gaItem</a>, <a class="el" href="a00272_source.html#l00366">GetConvContext()</a>, <a class="el" href="a00086_source.html#l00206">tagCONV_INFO::hConv</a>, <a class="el" href="a00086_source.html#l00104">HINST_ANY</a>, <a class="el" href="a00086_source.html#l00097">HTYPE_CLIENT_CONVERSATION</a>, <a class="el" href="a00086_source.html#l00210">tagCONV_INFO::hwndConv</a>, <a class="el" href="a00086_source.html#l00224">tagCL_CONV_INFO::hwndReconnect</a>, <a class="el" href="a00086_source.html#l00139">tagADVISE_LINK::laItem</a>, <a class="el" href="a00086_source.html#l00207">tagCONV_INFO::laService</a>, <a class="el" href="a00086_source.html#l00208">tagCONV_INFO::laTopic</a>, <a class="el" href="a00086_source.html#l00041">LeaveDDECrit</a>, <a class="el" href="a00164_source.html#l00438">LocalToGlobalAtom()</a>, <a class="el" href="a00155_source.html#l00226">PciiFromHandle()</a>, <a class="el" href="a00086_source.html#l00114">tagXACT_INFO::pcoi</a>, <a class="el" href="a00170_source.html#l00137">SetLastDDEMLError()</a>, <a class="el" href="a00086_source.html#l00211">tagCONV_INFO::state</a>, <a class="el" href="a00155_source.html#l00204">ValidateCHandle()</a>, <a class="el" href="a00086_source.html#l00119">tagXACT_INFO::wFmt</a>, <a class="el" href="a00086_source.html#l00140">tagADVISE_LINK::wFmt</a>, <a class="el" href="a00086_source.html#l00120">tagXACT_INFO::wType</a>, <a class="el" href="a00086_source.html#l00141">tagADVISE_LINK::wType</a> , 以及 <a class="el" href="a00086_source.html#l00130">XIF_ABANDONED</a>.</p>

</div>
</div>
<a id="a205c36f2db983e08bc2c9690c6a1b269"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a205c36f2db983e08bc2c9690c6a1b269">&#9670;&nbsp;</a></span>DisconnectConv()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">VOID DisconnectConv </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00086.html#ac204a6b912ffd4404bb455e0f78d527e">PCONV_INFO</a>&#160;</td>
          <td class="paramname"><em>pcoi</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00062_source.html">connect.c</a> 第 <a class="el" href="a00062_source.html#l00757">757</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00759"></a><span class="lineno">  759</span>&#160;{</div>
<div class="line"><a name="l00760"></a><span class="lineno">  760</span>&#160;    <a class="code" href="a01845.html">PCONV_INFO</a> pcoiNext;</div>
<div class="line"><a name="l00761"></a><span class="lineno">  761</span>&#160; </div>
<div class="line"><a name="l00762"></a><span class="lineno">  762</span>&#160;    <span class="keywordflow">for</span> (; pcoi; pcoi = pcoiNext) {</div>
<div class="line"><a name="l00763"></a><span class="lineno">  763</span>&#160;        pcoiNext = pcoi-&gt;<a class="code" href="a01845.html#a6f9fff70be46542c217424f5f415821a">next</a>;</div>
<div class="line"><a name="l00764"></a><span class="lineno">  764</span>&#160;        <a class="code" href="a00062.html#a38e37b3579fd0f62bdd704ec10cd472f">ShutdownConversation</a>(pcoi, FALSE);</div>
<div class="line"><a name="l00765"></a><span class="lineno">  765</span>&#160;    }</div>
<div class="line"><a name="l00766"></a><span class="lineno">  766</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00086_source.html#l00203">tagCONV_INFO::next</a> , 以及 <a class="el" href="a00062_source.html#l01107">ShutdownConversation()</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00062_source.html#l00193">DdeConnectList()</a>.</p>

</div>
</div>
<a id="a28bd8df0f53bb221fb21ec9650866ee8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a28bd8df0f53bb221fb21ec9650866ee8">&#9670;&nbsp;</a></span>FreeConversationResources()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">VOID FreeConversationResources </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00086.html#ac204a6b912ffd4404bb455e0f78d527e">PCONV_INFO</a>&#160;</td>
          <td class="paramname"><em>pcoi</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00062_source.html">connect.c</a> 第 <a class="el" href="a00062_source.html#l01343">1343</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l01345"></a><span class="lineno"> 1345</span>&#160;{</div>
<div class="line"><a name="l01346"></a><span class="lineno"> 1346</span>&#160;    <a class="code" href="a01825.html">PADVISE_LINK</a> paLink;</div>
<div class="line"><a name="l01347"></a><span class="lineno"> 1347</span>&#160;    <a class="code" href="a01829.html">PDDE_MESSAGE_QUEUE</a> pdmq;</div>
<div class="line"><a name="l01348"></a><span class="lineno"> 1348</span>&#160;    <a class="code" href="a01821.html">PXACT_INFO</a> pxi;</div>
<div class="line"><a name="l01349"></a><span class="lineno"> 1349</span>&#160; </div>
<div class="line"><a name="l01350"></a><span class="lineno"> 1350</span>&#160;    <a class="code" href="a00086.html#ac64721bd6049de0997fb056a93022b8e">CheckDDECritIn</a>;</div>
<div class="line"><a name="l01351"></a><span class="lineno"> 1351</span>&#160; </div>
<div class="line"><a name="l01352"></a><span class="lineno"> 1352</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l01353"></a><span class="lineno"> 1353</span>&#160;<span class="comment">     * Don&#39;t free resources on locked conversations.</span></div>
<div class="line"><a name="l01354"></a><span class="lineno"> 1354</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l01355"></a><span class="lineno"> 1355</span>&#160;    <span class="keywordflow">if</span> (pcoi-&gt;<a class="code" href="a01845.html#a429252b194add2d95e67ac853993020b">cLocks</a> &gt; 0) {</div>
<div class="line"><a name="l01356"></a><span class="lineno"> 1356</span>&#160;        pcoi-&gt;<a class="code" href="a01845.html#a5d717a64978f34c9afb8ae23374160a0">state</a> |= ST_FREE_CONV_RES_NOW;</div>
<div class="line"><a name="l01357"></a><span class="lineno"> 1357</span>&#160;        <span class="keywordflow">return</span>;</div>
<div class="line"><a name="l01358"></a><span class="lineno"> 1358</span>&#160;    }</div>
<div class="line"><a name="l01359"></a><span class="lineno"> 1359</span>&#160; </div>
<div class="line"><a name="l01360"></a><span class="lineno"> 1360</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l01361"></a><span class="lineno"> 1361</span>&#160;<span class="comment">     * Don&#39;t free resources if a synchronous transaction is in effect!</span></div>
<div class="line"><a name="l01362"></a><span class="lineno"> 1362</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l01363"></a><span class="lineno"> 1363</span>&#160;    pxi = pcoi-&gt;<a class="code" href="a01845.html#ae2f75489761175d860578ce7ebf48913">pxiOut</a>;</div>
<div class="line"><a name="l01364"></a><span class="lineno"> 1364</span>&#160;    <span class="keywordflow">while</span> (pxi != NULL) {</div>
<div class="line"><a name="l01365"></a><span class="lineno"> 1365</span>&#160;        <span class="keywordflow">if</span> (pxi-&gt;<a class="code" href="a01821.html#aa5250ff1f63a5d1730bc299c7a96b6af">flags</a> &amp; <a class="code" href="a00086.html#a2a5756b0e255d0398efa69c2d3fa9efa">XIF_SYNCHRONOUS</a>) {</div>
<div class="line"><a name="l01366"></a><span class="lineno"> 1366</span>&#160;            <span class="comment">/*</span></div>
<div class="line"><a name="l01367"></a><span class="lineno"> 1367</span>&#160;<span class="comment">             * This conversation is in a synchronous transaction.</span></div>
<div class="line"><a name="l01368"></a><span class="lineno"> 1368</span>&#160;<span class="comment">             * Shutdown the modal loop FIRST, then call this when</span></div>
<div class="line"><a name="l01369"></a><span class="lineno"> 1369</span>&#160;<span class="comment">             * the loop exits.</span></div>
<div class="line"><a name="l01370"></a><span class="lineno"> 1370</span>&#160;<span class="comment">             */</span></div>
<div class="line"><a name="l01371"></a><span class="lineno"> 1371</span>&#160;            <a class="code" href="a00356.html#a3f53b9d5a549a62853c4e3fb22b649d7">PostMessage</a>(pcoi-&gt;<a class="code" href="a01845.html#aba9f8f0b5693cc2b4e3e1399bb9db05f">hwndConv</a>, WM_TIMER, <a class="code" href="a00086.html#aa00e93da35592eb7500e7beb65887fda">TID_TIMEOUT</a>, 0);</div>
<div class="line"><a name="l01372"></a><span class="lineno"> 1372</span>&#160;            pcoi-&gt;<a class="code" href="a01845.html#a5d717a64978f34c9afb8ae23374160a0">state</a> |= ST_FREE_CONV_RES_NOW;</div>
<div class="line"><a name="l01373"></a><span class="lineno"> 1373</span>&#160;            <span class="keywordflow">return</span>;</div>
<div class="line"><a name="l01374"></a><span class="lineno"> 1374</span>&#160;        }</div>
<div class="line"><a name="l01375"></a><span class="lineno"> 1375</span>&#160;        pxi = pxi-&gt;<a class="code" href="a01821.html#a153d6c3a56fb1f036b945c7eb58bfe27">next</a>;</div>
<div class="line"><a name="l01376"></a><span class="lineno"> 1376</span>&#160;    }</div>
<div class="line"><a name="l01377"></a><span class="lineno"> 1377</span>&#160; </div>
<div class="line"><a name="l01378"></a><span class="lineno"> 1378</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l01379"></a><span class="lineno"> 1379</span>&#160;<span class="comment">     * If this is an Intra-Process conversation that hasn&#39;t yet received</span></div>
<div class="line"><a name="l01380"></a><span class="lineno"> 1380</span>&#160;<span class="comment">     * a terminate message, make it a zombie.  We will call this routine</span></div>
<div class="line"><a name="l01381"></a><span class="lineno"> 1381</span>&#160;<span class="comment">     * again once the terminate arrives or when WaitForZombieTerminate() has</span></div>
<div class="line"><a name="l01382"></a><span class="lineno"> 1382</span>&#160;<span class="comment">     * timed out waiting.</span></div>
<div class="line"><a name="l01383"></a><span class="lineno"> 1383</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l01384"></a><span class="lineno"> 1384</span>&#160;    <span class="keywordflow">if</span> (pcoi-&gt;<a class="code" href="a01845.html#a5d717a64978f34c9afb8ae23374160a0">state</a> &amp; ST_INTRA_PROCESS &amp;&amp; !(pcoi-&gt;<a class="code" href="a01845.html#a5d717a64978f34c9afb8ae23374160a0">state</a> &amp; ST_TERMINATE_RECEIVED)) {</div>
<div class="line"><a name="l01385"></a><span class="lineno"> 1385</span>&#160;        <a class="code" href="a00086.html#a49f0ae82e6897f4c6208f18e7c04d787">DestroyHandle</a>((HANDLE)pcoi-&gt;<a class="code" href="a01845.html#aed1dfd4816a13b9e20712ad7049e1fcc">hConv</a>);</div>
<div class="line"><a name="l01386"></a><span class="lineno"> 1386</span>&#160;        pcoi-&gt;<a class="code" href="a01845.html#aed1dfd4816a13b9e20712ad7049e1fcc">hConv</a> = (HCONV)<a class="code" href="a00086.html#a87d38bfb89ae342e462db838beab43cf">CreateHandle</a>((<a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>)pcoi, <a class="code" href="a00086.html#a0660b85f18aadfcf2c8dead0124a746a">HTYPE_ZOMBIE_CONVERSATION</a>,</div>
<div class="line"><a name="l01387"></a><span class="lineno"> 1387</span>&#160;                <a class="code" href="a00086.html#a6a2176afcdf096eb6add39fa9d673f80">InstFromHandle</a>(pcoi-&gt;<a class="code" href="a01845.html#aed1dfd4816a13b9e20712ad7049e1fcc">hConv</a>));</div>
<div class="line"><a name="l01388"></a><span class="lineno"> 1388</span>&#160;        <a class="code" href="a00062.html#a4f08398a693326d9465a9c9d3be108ff">UnlinkConvFromOthers</a>(pcoi, TRUE);</div>
<div class="line"><a name="l01389"></a><span class="lineno"> 1389</span>&#160;        <span class="keywordflow">return</span>;</div>
<div class="line"><a name="l01390"></a><span class="lineno"> 1390</span>&#160;    }</div>
<div class="line"><a name="l01391"></a><span class="lineno"> 1391</span>&#160; </div>
<div class="line"><a name="l01392"></a><span class="lineno"> 1392</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l01393"></a><span class="lineno"> 1393</span>&#160;<span class="comment">     * remove any transactions left in progress</span></div>
<div class="line"><a name="l01394"></a><span class="lineno"> 1394</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l01395"></a><span class="lineno"> 1395</span>&#160;    <span class="keywordflow">while</span> (pcoi-&gt;<a class="code" href="a01845.html#ae2f75489761175d860578ce7ebf48913">pxiOut</a> != NULL) {</div>
<div class="line"><a name="l01396"></a><span class="lineno"> 1396</span>&#160;        (pcoi-&gt;<a class="code" href="a01845.html#ae2f75489761175d860578ce7ebf48913">pxiOut</a>-&gt;<a class="code" href="a01821.html#a3e72a0d3f2894bdf7fea52a56128e0e5">pfnResponse</a>)(pcoi-&gt;<a class="code" href="a01845.html#ae2f75489761175d860578ce7ebf48913">pxiOut</a>, 0, 0);</div>
<div class="line"><a name="l01397"></a><span class="lineno"> 1397</span>&#160;    }</div>
<div class="line"><a name="l01398"></a><span class="lineno"> 1398</span>&#160; </div>
<div class="line"><a name="l01399"></a><span class="lineno"> 1399</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l01400"></a><span class="lineno"> 1400</span>&#160;<span class="comment">     * Throw away any incomming queued DDE messages.</span></div>
<div class="line"><a name="l01401"></a><span class="lineno"> 1401</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l01402"></a><span class="lineno"> 1402</span>&#160;    <span class="keywordflow">while</span> (pcoi-&gt;<a class="code" href="a01845.html#a78930c840c46ba4e53015f8b5c4de020">dmqOut</a> != NULL) {</div>
<div class="line"><a name="l01403"></a><span class="lineno"> 1403</span>&#160; </div>
<div class="line"><a name="l01404"></a><span class="lineno"> 1404</span>&#160;        pdmq = pcoi-&gt;<a class="code" href="a01845.html#a78930c840c46ba4e53015f8b5c4de020">dmqOut</a>;</div>
<div class="line"><a name="l01405"></a><span class="lineno"> 1405</span>&#160;        <a class="code" href="a00086.html#a54b9aff41b792d1f4c3e4c0db4fa9d5c">DumpDDEMessage</a>(!(pcoi-&gt;<a class="code" href="a01845.html#a5d717a64978f34c9afb8ae23374160a0">state</a> &amp; ST_INTRA_PROCESS), pdmq-&gt;<a class="code" href="a01829.html#a43204af3a61671f6c669bf2539b7475f">msg</a>, pdmq-&gt;<a class="code" href="a01829.html#aea6dbba0f7eb12aee294a96f0ed5b1b6">lParam</a>);</div>
<div class="line"><a name="l01406"></a><span class="lineno"> 1406</span>&#160;        pcoi-&gt;<a class="code" href="a01845.html#a78930c840c46ba4e53015f8b5c4de020">dmqOut</a> = pcoi-&gt;<a class="code" href="a01845.html#a78930c840c46ba4e53015f8b5c4de020">dmqOut</a>-&gt;<a class="code" href="a01829.html#a9628a1bcae16966c1c4ccb1ac4428838">next</a>;</div>
<div class="line"><a name="l01407"></a><span class="lineno"> 1407</span>&#160;        <span class="keywordflow">if</span> (pcoi-&gt;<a class="code" href="a01845.html#a78930c840c46ba4e53015f8b5c4de020">dmqOut</a> == NULL) {</div>
<div class="line"><a name="l01408"></a><span class="lineno"> 1408</span>&#160;            pcoi-&gt;<a class="code" href="a01845.html#aebd902014126dae5595b53fbbce3dc5a">dmqIn</a> = NULL;</div>
<div class="line"><a name="l01409"></a><span class="lineno"> 1409</span>&#160;        }</div>
<div class="line"><a name="l01410"></a><span class="lineno"> 1410</span>&#160;        <a class="code" href="a00086.html#a14b7b2abd485b184293dcd3d34c29e23">DDEMLFree</a>(pdmq);</div>
<div class="line"><a name="l01411"></a><span class="lineno"> 1411</span>&#160;    }</div>
<div class="line"><a name="l01412"></a><span class="lineno"> 1412</span>&#160; </div>
<div class="line"><a name="l01413"></a><span class="lineno"> 1413</span>&#160;    <span class="comment">//</span></div>
<div class="line"><a name="l01414"></a><span class="lineno"> 1414</span>&#160;    <span class="comment">// Remove all link info</span></div>
<div class="line"><a name="l01415"></a><span class="lineno"> 1415</span>&#160;    <span class="comment">//</span></div>
<div class="line"><a name="l01416"></a><span class="lineno"> 1416</span>&#160;    paLink = pcoi-&gt;<a class="code" href="a01845.html#abd6ddc0ca811ba45f97e1052e24c92f7">aLinks</a>;</div>
<div class="line"><a name="l01417"></a><span class="lineno"> 1417</span>&#160;    <span class="keywordflow">while</span> (pcoi-&gt;<a class="code" href="a01845.html#abb1c8670b152a59cef661dba09b0d09a">cLinks</a>) {</div>
<div class="line"><a name="l01418"></a><span class="lineno"> 1418</span>&#160;        <span class="keywordflow">if</span> (pcoi-&gt;<a class="code" href="a01845.html#a5d717a64978f34c9afb8ae23374160a0">state</a> &amp; ST_CLIENT) {</div>
<div class="line"><a name="l01419"></a><span class="lineno"> 1419</span>&#160;            <a class="code" href="a00086.html#a4392e7f891757523239a35111e99353f">MONLINK</a>(pcoi-&gt;<a class="code" href="a01845.html#ac54e3b685e73c03228d890f651895a84">pcii</a>, FALSE, paLink-&gt;<a class="code" href="a01825.html#aedf49a5424d4d9ad2cf1817a726c165f">wType</a> &amp; XTYPF_NODATA,</div>
<div class="line"><a name="l01420"></a><span class="lineno"> 1420</span>&#160;                    pcoi-&gt;<a class="code" href="a01845.html#a5234fbd6988274cd28565970f54a110c">laService</a>, pcoi-&gt;<a class="code" href="a01845.html#a037642095df06ec39ad1a904cc1f7c30">laTopic</a>,</div>
<div class="line"><a name="l01421"></a><span class="lineno"> 1421</span>&#160;                    <a class="code" href="a00086.html#acf65a97e9c6a58c917c8a0c1a4209c03">LocalToGlobalAtom</a>(paLink-&gt;<a class="code" href="a01825.html#a491330cc2632c738dbfac1d6393eedb6">laItem</a>),</div>
<div class="line"><a name="l01422"></a><span class="lineno"> 1422</span>&#160;                    paLink-&gt;<a class="code" href="a01825.html#ac6ac629d505432bedeb5cb3b7123ac98">wFmt</a>, FALSE,</div>
<div class="line"><a name="l01423"></a><span class="lineno"> 1423</span>&#160;                    (HCONV)pcoi-&gt;<a class="code" href="a01845.html#ab633a373034405937a22e9d2c0cbf4ad">hwndPartner</a>, (HCONV)pcoi-&gt;<a class="code" href="a01845.html#aba9f8f0b5693cc2b4e3e1399bb9db05f">hwndConv</a>);</div>
<div class="line"><a name="l01424"></a><span class="lineno"> 1424</span>&#160;        } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l01425"></a><span class="lineno"> 1425</span>&#160;            <a class="code" href="a00086.html#a4392e7f891757523239a35111e99353f">MONLINK</a>(pcoi-&gt;<a class="code" href="a01845.html#ac54e3b685e73c03228d890f651895a84">pcii</a>, FALSE, paLink-&gt;<a class="code" href="a01825.html#aedf49a5424d4d9ad2cf1817a726c165f">wType</a> &amp; XTYPF_NODATA,</div>
<div class="line"><a name="l01426"></a><span class="lineno"> 1426</span>&#160;                    pcoi-&gt;<a class="code" href="a01845.html#a5234fbd6988274cd28565970f54a110c">laService</a>, pcoi-&gt;<a class="code" href="a01845.html#a037642095df06ec39ad1a904cc1f7c30">laTopic</a>,</div>
<div class="line"><a name="l01427"></a><span class="lineno"> 1427</span>&#160;                    <a class="code" href="a00086.html#acf65a97e9c6a58c917c8a0c1a4209c03">LocalToGlobalAtom</a>(paLink-&gt;<a class="code" href="a01825.html#a491330cc2632c738dbfac1d6393eedb6">laItem</a>),</div>
<div class="line"><a name="l01428"></a><span class="lineno"> 1428</span>&#160;                    paLink-&gt;<a class="code" href="a01825.html#ac6ac629d505432bedeb5cb3b7123ac98">wFmt</a>, TRUE,</div>
<div class="line"><a name="l01429"></a><span class="lineno"> 1429</span>&#160;                    (HCONV)pcoi-&gt;<a class="code" href="a01845.html#aba9f8f0b5693cc2b4e3e1399bb9db05f">hwndConv</a>, (HCONV)pcoi-&gt;<a class="code" href="a01845.html#ab633a373034405937a22e9d2c0cbf4ad">hwndPartner</a>);</div>
<div class="line"><a name="l01430"></a><span class="lineno"> 1430</span>&#160;        }</div>
<div class="line"><a name="l01431"></a><span class="lineno"> 1431</span>&#160;        <span class="keywordflow">if</span> (!(pcoi-&gt;<a class="code" href="a01845.html#a5d717a64978f34c9afb8ae23374160a0">state</a> &amp; ST_CLIENT)) {</div>
<div class="line"><a name="l01432"></a><span class="lineno"> 1432</span>&#160;            <a class="code" href="a00086.html#a21a58dc05e3852357f94fda6251ceef6">DeleteLinkCount</a>(pcoi-&gt;<a class="code" href="a01845.html#ac54e3b685e73c03228d890f651895a84">pcii</a>, paLink-&gt;<a class="code" href="a01825.html#ada696c68d610d9735c5f59302d2955ae">pLinkCount</a>);</div>
<div class="line"><a name="l01433"></a><span class="lineno"> 1433</span>&#160;        }</div>
<div class="line"><a name="l01434"></a><span class="lineno"> 1434</span>&#160;        DeleteAtom(paLink-&gt;<a class="code" href="a01825.html#a491330cc2632c738dbfac1d6393eedb6">laItem</a>); <span class="comment">// link structure copy</span></div>
<div class="line"><a name="l01435"></a><span class="lineno"> 1435</span>&#160;        paLink++;</div>
<div class="line"><a name="l01436"></a><span class="lineno"> 1436</span>&#160;        pcoi-&gt;<a class="code" href="a01845.html#abb1c8670b152a59cef661dba09b0d09a">cLinks</a>--;</div>
<div class="line"><a name="l01437"></a><span class="lineno"> 1437</span>&#160;    }</div>
<div class="line"><a name="l01438"></a><span class="lineno"> 1438</span>&#160;    <span class="keywordflow">if</span> (pcoi-&gt;<a class="code" href="a01845.html#abd6ddc0ca811ba45f97e1052e24c92f7">aLinks</a>) {</div>
<div class="line"><a name="l01439"></a><span class="lineno"> 1439</span>&#160;        <a class="code" href="a00086.html#a14b7b2abd485b184293dcd3d34c29e23">DDEMLFree</a>(pcoi-&gt;<a class="code" href="a01845.html#abd6ddc0ca811ba45f97e1052e24c92f7">aLinks</a>);</div>
<div class="line"><a name="l01440"></a><span class="lineno"> 1440</span>&#160;    }</div>
<div class="line"><a name="l01441"></a><span class="lineno"> 1441</span>&#160; </div>
<div class="line"><a name="l01442"></a><span class="lineno"> 1442</span>&#160;    <span class="comment">//</span></div>
<div class="line"><a name="l01443"></a><span class="lineno"> 1443</span>&#160;    <span class="comment">// free atoms associated with this conv</span></div>
<div class="line"><a name="l01444"></a><span class="lineno"> 1444</span>&#160;    <span class="comment">//</span></div>
<div class="line"><a name="l01445"></a><span class="lineno"> 1445</span>&#160;    DeleteAtom(pcoi-&gt;<a class="code" href="a01845.html#a5234fbd6988274cd28565970f54a110c">laService</a>);</div>
<div class="line"><a name="l01446"></a><span class="lineno"> 1446</span>&#160;    DeleteAtom(pcoi-&gt;<a class="code" href="a01845.html#a037642095df06ec39ad1a904cc1f7c30">laTopic</a>);</div>
<div class="line"><a name="l01447"></a><span class="lineno"> 1447</span>&#160;    <span class="keywordflow">if</span> (pcoi-&gt;<a class="code" href="a01845.html#a9a66c3e7ae56e5adf407e16f01a76676">laServiceRequested</a>) {</div>
<div class="line"><a name="l01448"></a><span class="lineno"> 1448</span>&#160;        DeleteAtom(pcoi-&gt;<a class="code" href="a01845.html#a9a66c3e7ae56e5adf407e16f01a76676">laServiceRequested</a>);</div>
<div class="line"><a name="l01449"></a><span class="lineno"> 1449</span>&#160;    }</div>
<div class="line"><a name="l01450"></a><span class="lineno"> 1450</span>&#160; </div>
<div class="line"><a name="l01451"></a><span class="lineno"> 1451</span>&#160;    <a class="code" href="a00062.html#a4f08398a693326d9465a9c9d3be108ff">UnlinkConvFromOthers</a>(pcoi, FALSE);</div>
<div class="line"><a name="l01452"></a><span class="lineno"> 1452</span>&#160; </div>
<div class="line"><a name="l01453"></a><span class="lineno"> 1453</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l01454"></a><span class="lineno"> 1454</span>&#160;<span class="comment">     * invalidate app&#39;s conversation handle</span></div>
<div class="line"><a name="l01455"></a><span class="lineno"> 1455</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l01456"></a><span class="lineno"> 1456</span>&#160;    <a class="code" href="a00086.html#a49f0ae82e6897f4c6208f18e7c04d787">DestroyHandle</a>((HANDLE)pcoi-&gt;<a class="code" href="a01845.html#aed1dfd4816a13b9e20712ad7049e1fcc">hConv</a>);</div>
<div class="line"><a name="l01457"></a><span class="lineno"> 1457</span>&#160; </div>
<div class="line"><a name="l01458"></a><span class="lineno"> 1458</span>&#160;    <a class="code" href="a00086.html#a14b7b2abd485b184293dcd3d34c29e23">DDEMLFree</a>(pcoi);</div>
<div class="line"><a name="l01459"></a><span class="lineno"> 1459</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00086_source.html#l00217">tagCONV_INFO::aLinks</a>, <a class="el" href="a00086_source.html#l00050">CheckDDECritIn</a>, <a class="el" href="a00086_source.html#l00218">tagCONV_INFO::cLinks</a>, <a class="el" href="a00086_source.html#l00219">tagCONV_INFO::cLocks</a>, <a class="el" href="a00155_source.html#l00075">CreateHandle()</a>, <a class="el" href="a00086_source.html#l00014">DDEMLFree</a>, <a class="el" href="a00260_source.html#l00121">DeleteLinkCount()</a>, <a class="el" href="a00155_source.html#l00137">DestroyHandle()</a>, <a class="el" href="a00086_source.html#l00215">tagCONV_INFO::dmqIn</a>, <a class="el" href="a00086_source.html#l00216">tagCONV_INFO::dmqOut</a>, <a class="el" href="a00089_source.html#l00712">DumpDDEMessage()</a>, <a class="el" href="a00563_source.html#l00175">DWORD</a>, <a class="el" href="a00086_source.html#l00122">tagXACT_INFO::flags</a>, <a class="el" href="a00086_source.html#l00206">tagCONV_INFO::hConv</a>, <a class="el" href="a00086_source.html#l00101">HTYPE_ZOMBIE_CONVERSATION</a>, <a class="el" href="a00086_source.html#l00210">tagCONV_INFO::hwndConv</a>, <a class="el" href="a00086_source.html#l00209">tagCONV_INFO::hwndPartner</a>, <a class="el" href="a00086_source.html#l00087">InstFromHandle</a>, <a class="el" href="a00086_source.html#l00139">tagADVISE_LINK::laItem</a>, <a class="el" href="a00086_source.html#l00207">tagCONV_INFO::laService</a>, <a class="el" href="a00086_source.html#l00212">tagCONV_INFO::laServiceRequested</a>, <a class="el" href="a00086_source.html#l00208">tagCONV_INFO::laTopic</a>, <a class="el" href="a00164_source.html#l00438">LocalToGlobalAtom()</a>, <a class="el" href="a00086_source.html#l00154">tagDDE_MESSAGE_QUEUE::lParam</a>, <a class="el" href="a00086_source.html#l00025">MONLINK</a>, <a class="el" href="a00086_source.html#l00153">tagDDE_MESSAGE_QUEUE::msg</a>, <a class="el" href="a00086_source.html#l00113">tagXACT_INFO::next</a>, <a class="el" href="a00086_source.html#l00151">tagDDE_MESSAGE_QUEUE::next</a>, <a class="el" href="a00086_source.html#l00204">tagCONV_INFO::pcii</a>, <a class="el" href="a00086_source.html#l00117">tagXACT_INFO::pfnResponse</a>, <a class="el" href="a00086_source.html#l00138">tagADVISE_LINK::pLinkCount</a>, <a class="el" href="a00356_source.html#l00471">PostMessage()</a>, <a class="el" href="a00086_source.html#l00214">tagCONV_INFO::pxiOut</a>, <a class="el" href="a00086_source.html#l00211">tagCONV_INFO::state</a>, <a class="el" href="a00086_source.html#l00132">TID_TIMEOUT</a>, <a class="el" href="a00062_source.html#l01151">UnlinkConvFromOthers()</a>, <a class="el" href="a00086_source.html#l00140">tagADVISE_LINK::wFmt</a>, <a class="el" href="a00086_source.html#l00141">tagADVISE_LINK::wType</a> , 以及 <a class="el" href="a00086_source.html#l00128">XIF_SYNCHRONOUS</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00272_source.html#l00022">DdeClientTransaction()</a>, <a class="el" href="a00008_source.html#l00329">DdeEnableCallback()</a>, <a class="el" href="a00008_source.html#l00289">EnableEnumProc()</a>, <a class="el" href="a00089_source.html#l00570">ProcessAsyncDDEMsg()</a>, <a class="el" href="a00089_source.html#l00780">ProcessSyncDDEMessage()</a> , 以及 <a class="el" href="a00062_source.html#l01107">ShutdownConversation()</a>.</p>

</div>
</div>
<a id="a4b09979005f69e3a080c39d654040eb5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4b09979005f69e3a080c39d654040eb5">&#9670;&nbsp;</a></span>InitiateEnumerationProc()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">BOOL InitiateEnumerationProc </td>
          <td>(</td>
          <td class="paramtype">HWND&#160;</td>
          <td class="paramname"><em>hwndTarget</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00062.html#a752314be896cd65a53a40b1151757a3f">PINIT_ENUM</a>&#160;</td>
          <td class="paramname"><em>pie</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00062_source.html">connect.c</a> 第 <a class="el" href="a00062_source.html#l00782">782</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00785"></a><span class="lineno">  785</span>&#160;{</div>
<div class="line"><a name="l00786"></a><span class="lineno">  786</span>&#160;    <a class="code" href="a01849.html">PCL_CONV_INFO</a> pci;</div>
<div class="line"><a name="l00787"></a><span class="lineno">  787</span>&#160; </div>
<div class="line"><a name="l00788"></a><span class="lineno">  788</span>&#160;    <a class="code" href="a00086.html#af4a5ecbacfdd6845c5c37342f333ace4">CheckDDECritOut</a>;</div>
<div class="line"><a name="l00789"></a><span class="lineno">  789</span>&#160; </div>
<div class="line"><a name="l00790"></a><span class="lineno">  790</span>&#160;    <span class="keywordflow">if</span> (hwndTarget == pie-&gt;<a class="code" href="a01809.html#abd77cb02de507336c352adb9e45f0786">hwndSkip</a>) {</div>
<div class="line"><a name="l00791"></a><span class="lineno">  791</span>&#160;        <span class="keywordflow">return</span> (TRUE);</div>
<div class="line"><a name="l00792"></a><span class="lineno">  792</span>&#160;    }</div>
<div class="line"><a name="l00793"></a><span class="lineno">  793</span>&#160; </div>
<div class="line"><a name="l00794"></a><span class="lineno">  794</span>&#160;    <span class="keywordflow">if</span> (pie-&gt;<a class="code" href="a01809.html#a18a38472c38612dfaa3a8d5bb1361008">hConvList</a> &amp;&amp; pie-&gt;<a class="code" href="a01809.html#a037642095df06ec39ad1a904cc1f7c30">laTopic</a> &amp;&amp; pie-&gt;<a class="code" href="a01809.html#a9a66c3e7ae56e5adf407e16f01a76676">laServiceRequested</a>) {</div>
<div class="line"><a name="l00795"></a><span class="lineno">  795</span>&#160;        <span class="comment">/*</span></div>
<div class="line"><a name="l00796"></a><span class="lineno">  796</span>&#160;<span class="comment">         * Head off duplicates BEFORE we send the WM_DDE_INITIATE messages!</span></div>
<div class="line"><a name="l00797"></a><span class="lineno">  797</span>&#160;<span class="comment">         */</span></div>
<div class="line"><a name="l00798"></a><span class="lineno">  798</span>&#160;        <a class="code" href="a01857.html">PCONVLIST</a> pcl;</div>
<div class="line"><a name="l00799"></a><span class="lineno">  799</span>&#160;        <a class="code" href="a01845.html">PCONV_INFO</a> pcoiExisting;</div>
<div class="line"><a name="l00800"></a><span class="lineno">  800</span>&#160;        <span class="keywordtype">int</span> i;</div>
<div class="line"><a name="l00801"></a><span class="lineno">  801</span>&#160; </div>
<div class="line"><a name="l00802"></a><span class="lineno">  802</span>&#160;        <a class="code" href="a00086.html#a8c66aaa58bd4b338d4f04ae07d4fb23a">EnterDDECrit</a>;</div>
<div class="line"><a name="l00803"></a><span class="lineno">  803</span>&#160;        <span class="comment">/*</span></div>
<div class="line"><a name="l00804"></a><span class="lineno">  804</span>&#160;<span class="comment">         * We revalidate hConvList here because we left the critical section.</span></div>
<div class="line"><a name="l00805"></a><span class="lineno">  805</span>&#160;<span class="comment">         */</span></div>
<div class="line"><a name="l00806"></a><span class="lineno">  806</span>&#160;        pcl = (<a class="code" href="a00086.html#a6e32f41e048da966b06caf60267b5580">PCONVLIST</a>)<a class="code" href="a00086.html#ad5b8ef18960b493b8123fdce517dc30f">ValidateCHandle</a>((HANDLE)pie-&gt;<a class="code" href="a01809.html#a18a38472c38612dfaa3a8d5bb1361008">hConvList</a>,</div>
<div class="line"><a name="l00807"></a><span class="lineno">  807</span>&#160;                <a class="code" href="a00086.html#a34528446d56187d633881a314c3c6c20">HTYPE_CONVERSATION_LIST</a>, <a class="code" href="a00086.html#a1404f4537352b9accf0bad83b81d3097">HINST_ANY</a>);</div>
<div class="line"><a name="l00808"></a><span class="lineno">  808</span>&#160;        <span class="keywordflow">if</span> (pcl != NULL) {</div>
<div class="line"><a name="l00809"></a><span class="lineno">  809</span>&#160;            <span class="keywordflow">for</span> (i = 0; i &lt; pcl-&gt;<a class="code" href="a01857.html#a4790abb1d49e1e3ec035ae70eef5cf2f">chwnd</a>; i++) {</div>
<div class="line"><a name="l00810"></a><span class="lineno">  810</span>&#160;                <span class="keywordflow">for</span> (pcoiExisting = (<a class="code" href="a01845.html">PCONV_INFO</a>)GetWindowLong(pcl-&gt;<a class="code" href="a01857.html#a620348880fc95c088c58c878ff8ba55a">ahwnd</a>[i], GWL_PCI);</div>
<div class="line"><a name="l00811"></a><span class="lineno">  811</span>&#160;                        pcoiExisting != NULL;</div>
<div class="line"><a name="l00812"></a><span class="lineno">  812</span>&#160;                        pcoiExisting = pcoiExisting-&gt;<a class="code" href="a01845.html#a6f9fff70be46542c217424f5f415821a">next</a>) {</div>
<div class="line"><a name="l00813"></a><span class="lineno">  813</span>&#160;                    <span class="keywordflow">if</span> (pcoiExisting-&gt;<a class="code" href="a01845.html#a5d717a64978f34c9afb8ae23374160a0">state</a> &amp; ST_CONNECTED &amp;&amp;</div>
<div class="line"><a name="l00814"></a><span class="lineno">  814</span>&#160;                            ((<a class="code" href="a01849.html">PCL_CONV_INFO</a>)pcoiExisting)-&gt;hwndReconnect == hwndTarget &amp;&amp;</div>
<div class="line"><a name="l00815"></a><span class="lineno">  815</span>&#160;                            pcoiExisting-&gt;laTopic == pie-&gt;<a class="code" href="a01809.html#a037642095df06ec39ad1a904cc1f7c30">laTopic</a> &amp;&amp;</div>
<div class="line"><a name="l00816"></a><span class="lineno">  816</span>&#160;                            pcoiExisting-&gt;laService == pie-&gt;<a class="code" href="a01809.html#a9a66c3e7ae56e5adf407e16f01a76676">laServiceRequested</a>) {</div>
<div class="line"><a name="l00817"></a><span class="lineno">  817</span>&#160;                        <a class="code" href="a00086.html#a3b5310e2dd6b3c42cb13fa51a1b4e254">LeaveDDECrit</a>;</div>
<div class="line"><a name="l00818"></a><span class="lineno">  818</span>&#160;                        <span class="keywordflow">return</span>(TRUE);</div>
<div class="line"><a name="l00819"></a><span class="lineno">  819</span>&#160;                    }</div>
<div class="line"><a name="l00820"></a><span class="lineno">  820</span>&#160;                }</div>
<div class="line"><a name="l00821"></a><span class="lineno">  821</span>&#160;            }</div>
<div class="line"><a name="l00822"></a><span class="lineno">  822</span>&#160;        }</div>
<div class="line"><a name="l00823"></a><span class="lineno">  823</span>&#160;        <a class="code" href="a00086.html#a3b5310e2dd6b3c42cb13fa51a1b4e254">LeaveDDECrit</a>;</div>
<div class="line"><a name="l00824"></a><span class="lineno">  824</span>&#160;    }</div>
<div class="line"><a name="l00825"></a><span class="lineno">  825</span>&#160; </div>
<div class="line"><a name="l00826"></a><span class="lineno">  826</span>&#160;    <a class="code" href="a00086.html#af4a5ecbacfdd6845c5c37342f333ace4">CheckDDECritOut</a>;</div>
<div class="line"><a name="l00827"></a><span class="lineno">  827</span>&#160; </div>
<div class="line"><a name="l00828"></a><span class="lineno">  828</span>&#160;    SendMessage(hwndTarget, WM_DDE_INITIATE, (<a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>)pie-&gt;<a class="code" href="a01809.html#ad285e3a598920b58d4232596cd0a8460">hwndClient</a>,</div>
<div class="line"><a name="l00829"></a><span class="lineno">  829</span>&#160;            pie-&gt;<a class="code" href="a01809.html#aea6dbba0f7eb12aee294a96f0ed5b1b6">lParam</a>);</div>
<div class="line"><a name="l00830"></a><span class="lineno">  830</span>&#160; </div>
<div class="line"><a name="l00831"></a><span class="lineno">  831</span>&#160;    <a class="code" href="a00086.html#a8c66aaa58bd4b338d4f04ae07d4fb23a">EnterDDECrit</a>;</div>
<div class="line"><a name="l00832"></a><span class="lineno">  832</span>&#160; </div>
<div class="line"><a name="l00833"></a><span class="lineno">  833</span>&#160;    <span class="comment">//</span></div>
<div class="line"><a name="l00834"></a><span class="lineno">  834</span>&#160;    <span class="comment">// During the initiate process, any acks received cause more pci&#39;s</span></div>
<div class="line"><a name="l00835"></a><span class="lineno">  835</span>&#160;    <span class="comment">// to become linked together under the same hwndClient. Once</span></div>
<div class="line"><a name="l00836"></a><span class="lineno">  836</span>&#160;    <span class="comment">// the SendMessage() returns, we set the parts of the new pci&#39;s</span></div>
<div class="line"><a name="l00837"></a><span class="lineno">  837</span>&#160;    <span class="comment">// that hold initiate context information.</span></div>
<div class="line"><a name="l00838"></a><span class="lineno">  838</span>&#160;    <span class="comment">//</span></div>
<div class="line"><a name="l00839"></a><span class="lineno">  839</span>&#160;    pci = (<a class="code" href="a00086.html#a3dc39629249824029407d9b5954b34f5">PCL_CONV_INFO</a>)GetWindowLong(pie-&gt;<a class="code" href="a01809.html#ad285e3a598920b58d4232596cd0a8460">hwndClient</a>, GWL_PCI);</div>
<div class="line"><a name="l00840"></a><span class="lineno">  840</span>&#160;    <span class="keywordflow">if</span> (pci == NULL) {</div>
<div class="line"><a name="l00841"></a><span class="lineno">  841</span>&#160;        <a class="code" href="a00086.html#a3b5310e2dd6b3c42cb13fa51a1b4e254">LeaveDDECrit</a>;</div>
<div class="line"><a name="l00842"></a><span class="lineno">  842</span>&#160;        <span class="keywordflow">return</span> (TRUE);</div>
<div class="line"><a name="l00843"></a><span class="lineno">  843</span>&#160;    }</div>
<div class="line"><a name="l00844"></a><span class="lineno">  844</span>&#160; </div>
<div class="line"><a name="l00845"></a><span class="lineno">  845</span>&#160;    <span class="keywordflow">while</span> (pci != NULL) {</div>
<div class="line"><a name="l00846"></a><span class="lineno">  846</span>&#160;        <span class="keywordflow">if</span> (pci-&gt;<a class="code" href="a01849.html#ae2aa0a1e8bf12852487eb7c761fc1e46">hwndReconnect</a> == 0) {  <span class="comment">// this one needs updating</span></div>
<div class="line"><a name="l00847"></a><span class="lineno">  847</span>&#160;            pci-&gt;<a class="code" href="a01849.html#ae2aa0a1e8bf12852487eb7c761fc1e46">hwndReconnect</a> = hwndTarget;</div>
<div class="line"><a name="l00848"></a><span class="lineno">  848</span>&#160;            <span class="keywordflow">if</span> (pie-&gt;<a class="code" href="a01809.html#a9a66c3e7ae56e5adf407e16f01a76676">laServiceRequested</a>) {</div>
<div class="line"><a name="l00849"></a><span class="lineno">  849</span>&#160;                pci-&gt;<a class="code" href="a01849.html#a32c7595834535b04b8e88dd6ddb09d47">ci</a>.<a class="code" href="a01845.html#a9a66c3e7ae56e5adf407e16f01a76676">laServiceRequested</a> = pie-&gt;<a class="code" href="a01809.html#a9a66c3e7ae56e5adf407e16f01a76676">laServiceRequested</a>;</div>
<div class="line"><a name="l00850"></a><span class="lineno">  850</span>&#160;                <a class="code" href="a00086.html#ad33b600c0405aee1e67d56ddd3e83c42">IncLocalAtomCount</a>(pie-&gt;<a class="code" href="a01809.html#a9a66c3e7ae56e5adf407e16f01a76676">laServiceRequested</a>); <span class="comment">// pci copy</span></div>
<div class="line"><a name="l00851"></a><span class="lineno">  851</span>&#160;            }</div>
<div class="line"><a name="l00852"></a><span class="lineno">  852</span>&#160;        }</div>
<div class="line"><a name="l00853"></a><span class="lineno">  853</span>&#160;        <span class="keywordflow">if</span> (pie-&gt;<a class="code" href="a01809.html#a0984e4f735b587578cd1003d1e3deee7">clst</a> == CLST_SINGLE_INITIALIZING) {</div>
<div class="line"><a name="l00854"></a><span class="lineno">  854</span>&#160;            <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00855"></a><span class="lineno">  855</span>&#160;        }</div>
<div class="line"><a name="l00856"></a><span class="lineno">  856</span>&#160;        pci = (<a class="code" href="a00086.html#a3dc39629249824029407d9b5954b34f5">PCL_CONV_INFO</a>)pci-&gt;<a class="code" href="a01849.html#a32c7595834535b04b8e88dd6ddb09d47">ci</a>.<a class="code" href="a01845.html#a6f9fff70be46542c217424f5f415821a">next</a>;</div>
<div class="line"><a name="l00857"></a><span class="lineno">  857</span>&#160;    }</div>
<div class="line"><a name="l00858"></a><span class="lineno">  858</span>&#160;    <a class="code" href="a00086.html#a3b5310e2dd6b3c42cb13fa51a1b4e254">LeaveDDECrit</a>;</div>
<div class="line"><a name="l00859"></a><span class="lineno">  859</span>&#160;    <span class="keywordflow">return</span> (pie-&gt;<a class="code" href="a01809.html#a0984e4f735b587578cd1003d1e3deee7">clst</a> == CLST_MULT_INITIALIZING);</div>
<div class="line"><a name="l00860"></a><span class="lineno">  860</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00086_source.html#l00234">tagCONVLIST::ahwnd</a>, <a class="el" href="a00086_source.html#l00051">CheckDDECritOut</a>, <a class="el" href="a00086_source.html#l00233">tagCONVLIST::chwnd</a>, <a class="el" href="a00086_source.html#l00223">tagCL_CONV_INFO::ci</a>, <a class="el" href="a00062_source.html#l00127">tagINIT_ENUM::clst</a>, <a class="el" href="a00563_source.html#l00175">DWORD</a>, <a class="el" href="a00086_source.html#l00040">EnterDDECrit</a>, <a class="el" href="a00062_source.html#l00126">tagINIT_ENUM::hConvList</a>, <a class="el" href="a00086_source.html#l00104">HINST_ANY</a>, <a class="el" href="a00086_source.html#l00098">HTYPE_CONVERSATION_LIST</a>, <a class="el" href="a00062_source.html#l00121">tagINIT_ENUM::hwndClient</a>, <a class="el" href="a00086_source.html#l00224">tagCL_CONV_INFO::hwndReconnect</a>, <a class="el" href="a00062_source.html#l00122">tagINIT_ENUM::hwndSkip</a>, <a class="el" href="a00164_source.html#l00516">IncLocalAtomCount()</a>, <a class="el" href="a00062_source.html#l00124">tagINIT_ENUM::laServiceRequested</a>, <a class="el" href="a00086_source.html#l00212">tagCONV_INFO::laServiceRequested</a>, <a class="el" href="a00062_source.html#l00125">tagINIT_ENUM::laTopic</a>, <a class="el" href="a00086_source.html#l00041">LeaveDDECrit</a>, <a class="el" href="a00062_source.html#l00123">tagINIT_ENUM::lParam</a>, <a class="el" href="a00086_source.html#l00203">tagCONV_INFO::next</a>, <a class="el" href="a00086_source.html#l00211">tagCONV_INFO::state</a> , 以及 <a class="el" href="a00155_source.html#l00204">ValidateCHandle()</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00062_source.html#l00605">ConnectConv()</a>.</p>

</div>
</div>
<a id="a51d9bfa110e39a8388cb2fcb52a79e56"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a51d9bfa110e39a8388cb2fcb52a79e56">&#9670;&nbsp;</a></span>SetCommonStateFlags()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">VOID SetCommonStateFlags </td>
          <td>(</td>
          <td class="paramtype">HWND&#160;</td>
          <td class="paramname"><em>hwndUs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">HWND&#160;</td>
          <td class="paramname"><em>hwndThem</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">PWORD&#160;</td>
          <td class="paramname"><em>pwFlags</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00062_source.html">connect.c</a> 第 <a class="el" href="a00062_source.html#l00874">874</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00878"></a><span class="lineno">  878</span>&#160;{</div>
<div class="line"><a name="l00879"></a><span class="lineno">  879</span>&#160;    <a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a> pidUs, pidThem;</div>
<div class="line"><a name="l00880"></a><span class="lineno">  880</span>&#160; </div>
<div class="line"><a name="l00881"></a><span class="lineno">  881</span>&#160;    <a class="code" href="a00263.html#a1dc37c01a43d34053e1dbf4ee8e0da0a">GetWindowThreadProcessId</a>(hwndUs, &amp;pidUs);</div>
<div class="line"><a name="l00882"></a><span class="lineno">  882</span>&#160;    <a class="code" href="a00263.html#a1dc37c01a43d34053e1dbf4ee8e0da0a">GetWindowThreadProcessId</a>(hwndThem, &amp;pidThem);</div>
<div class="line"><a name="l00883"></a><span class="lineno">  883</span>&#160;    <span class="keywordflow">if</span> (pidUs == pidThem) {</div>
<div class="line"><a name="l00884"></a><span class="lineno">  884</span>&#160;        *pwFlags |= ST_INTRA_PROCESS;</div>
<div class="line"><a name="l00885"></a><span class="lineno">  885</span>&#160;    }</div>
<div class="line"><a name="l00886"></a><span class="lineno">  886</span>&#160; </div>
<div class="line"><a name="l00887"></a><span class="lineno">  887</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="a00263.html#a972f6ec0203e2154840d144eba104076">IsWindowUnicode</a>(hwndUs) &amp;&amp; <a class="code" href="a00263.html#a972f6ec0203e2154840d144eba104076">IsWindowUnicode</a>(hwndThem)) {</div>
<div class="line"><a name="l00888"></a><span class="lineno">  888</span>&#160;        *pwFlags |= ST_UNICODE_EXECUTE;</div>
<div class="line"><a name="l00889"></a><span class="lineno">  889</span>&#160;    }</div>
<div class="line"><a name="l00890"></a><span class="lineno">  890</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00563_source.html#l00175">DWORD</a>, <a class="el" href="a00263_source.html#l00211">GetWindowThreadProcessId()</a> , 以及 <a class="el" href="a00263_source.html#l00471">IsWindowUnicode()</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00089_source.html#l00376">DDEMLClientWndProc()</a> , 以及 <a class="el" href="a00089_source.html#l00057">ProcessDDEMLInitiate()</a>.</p>

</div>
</div>
<a id="a38e37b3579fd0f62bdd704ec10cd472f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a38e37b3579fd0f62bdd704ec10cd472f">&#9670;&nbsp;</a></span>ShutdownConversation()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">VOID ShutdownConversation </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00086.html#ac204a6b912ffd4404bb455e0f78d527e">PCONV_INFO</a>&#160;</td>
          <td class="paramname"><em>pcoi</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">BOOL&#160;</td>
          <td class="paramname"><em>fMakeCallback</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00062_source.html">connect.c</a> 第 <a class="el" href="a00062_source.html#l01107">1107</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l01110"></a><span class="lineno"> 1110</span>&#160;{</div>
<div class="line"><a name="l01111"></a><span class="lineno"> 1111</span>&#160;    <a class="code" href="a00086.html#ac64721bd6049de0997fb056a93022b8e">CheckDDECritIn</a>;</div>
<div class="line"><a name="l01112"></a><span class="lineno"> 1112</span>&#160; </div>
<div class="line"><a name="l01113"></a><span class="lineno"> 1113</span>&#160;    <span class="keywordflow">if</span> (pcoi-&gt;<a class="code" href="a01845.html#a5d717a64978f34c9afb8ae23374160a0">state</a> &amp; ST_CONNECTED) {</div>
<div class="line"><a name="l01114"></a><span class="lineno"> 1114</span>&#160;        pcoi-&gt;<a class="code" href="a01845.html#a5d717a64978f34c9afb8ae23374160a0">state</a> &amp;= ~ST_CONNECTED;</div>
<div class="line"><a name="l01115"></a><span class="lineno"> 1115</span>&#160; </div>
<div class="line"><a name="l01116"></a><span class="lineno"> 1116</span>&#160;        <span class="keywordflow">if</span> (<a class="code" href="a03743.html#ac5ede70e870dc1cf540d7524887e4edc">IsWindow</a>(pcoi-&gt;<a class="code" href="a01845.html#ab633a373034405937a22e9d2c0cbf4ad">hwndPartner</a>)) {</div>
<div class="line"><a name="l01117"></a><span class="lineno"> 1117</span>&#160;            <a class="code" href="a00356.html#a3f53b9d5a549a62853c4e3fb22b649d7">PostMessage</a>(pcoi-&gt;<a class="code" href="a01845.html#ab633a373034405937a22e9d2c0cbf4ad">hwndPartner</a>, WM_DDE_TERMINATE,</div>
<div class="line"><a name="l01118"></a><span class="lineno"> 1118</span>&#160;                    (<a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>)pcoi-&gt;<a class="code" href="a01845.html#aba9f8f0b5693cc2b4e3e1399bb9db05f">hwndConv</a>, 0);</div>
<div class="line"><a name="l01119"></a><span class="lineno"> 1119</span>&#160;        }</div>
<div class="line"><a name="l01120"></a><span class="lineno"> 1120</span>&#160;        <span class="keywordflow">if</span> (fMakeCallback &amp;&amp; !(pcoi-&gt;<a class="code" href="a01845.html#ac54e3b685e73c03228d890f651895a84">pcii</a>-&gt;<a class="code" href="a01841.html#a9735d28a0381236e8c20f45a431efd55">afCmd</a> &amp; CBF_SKIP_DISCONNECTS)) {</div>
<div class="line"><a name="l01121"></a><span class="lineno"> 1121</span>&#160;            <a class="code" href="a00008.html#a23a4646063ef5f4cdcf6d3840b705fc2">DoCallback</a>(pcoi-&gt;<a class="code" href="a01845.html#ac54e3b685e73c03228d890f651895a84">pcii</a>, (WORD)XTYP_DISCONNECT, 0, pcoi-&gt;<a class="code" href="a01845.html#aed1dfd4816a13b9e20712ad7049e1fcc">hConv</a>,</div>
<div class="line"><a name="l01122"></a><span class="lineno"> 1122</span>&#160;                    0, 0, 0, 0, (pcoi-&gt;<a class="code" href="a01845.html#a5d717a64978f34c9afb8ae23374160a0">state</a> &amp; ST_ISSELF) ? 1L : 0L);</div>
<div class="line"><a name="l01123"></a><span class="lineno"> 1123</span>&#160;        }</div>
<div class="line"><a name="l01124"></a><span class="lineno"> 1124</span>&#160;        <a class="code" href="a00086.html#afa268e07586fb59f8251f975f4b5328e">MONCONV</a>(pcoi, FALSE);</div>
<div class="line"><a name="l01125"></a><span class="lineno"> 1125</span>&#160;    }</div>
<div class="line"><a name="l01126"></a><span class="lineno"> 1126</span>&#160; </div>
<div class="line"><a name="l01127"></a><span class="lineno"> 1127</span>&#160;    <a class="code" href="a00062.html#a28bd8df0f53bb221fb21ec9650866ee8">FreeConversationResources</a>(pcoi);</div>
<div class="line"><a name="l01128"></a><span class="lineno"> 1128</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00086_source.html#l00183">tagCL_INSTANCE_INFO::afCmd</a>, <a class="el" href="a00086_source.html#l00050">CheckDDECritIn</a>, <a class="el" href="a00008_source.html#l00022">DoCallback()</a>, <a class="el" href="a00563_source.html#l00175">DWORD</a>, <a class="el" href="a00062_source.html#l01343">FreeConversationResources()</a>, <a class="el" href="a00086_source.html#l00206">tagCONV_INFO::hConv</a>, <a class="el" href="a00086_source.html#l00210">tagCONV_INFO::hwndConv</a>, <a class="el" href="a00086_source.html#l00209">tagCONV_INFO::hwndPartner</a>, <a class="el" href="a03743_source.html#l00421">IsWindow()</a>, <a class="el" href="a00086_source.html#l00030">MONCONV</a>, <a class="el" href="a00086_source.html#l00204">tagCONV_INFO::pcii</a>, <a class="el" href="a00356_source.html#l00471">PostMessage()</a> , 以及 <a class="el" href="a00086_source.html#l00211">tagCONV_INFO::state</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00062_source.html#l00193">DdeConnectList()</a>, <a class="el" href="a00062_source.html#l01006">DdeDisconnect()</a>, <a class="el" href="a00062_source.html#l01051">DdeDisconnectList()</a>, <a class="el" href="a00062_source.html#l00757">DisconnectConv()</a>, <a class="el" href="a00089_source.html#l00541">ProcessTerminateMsg()</a>, <a class="el" href="a00251_source.html#l01371">SpontaneousClientMessage()</a> , 以及 <a class="el" href="a00251_source.html#l01399">SpontaneousServerMessage()</a>.</p>

</div>
</div>
<a id="a4f08398a693326d9465a9c9d3be108ff"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4f08398a693326d9465a9c9d3be108ff">&#9670;&nbsp;</a></span>UnlinkConvFromOthers()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">VOID UnlinkConvFromOthers </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00086.html#ac204a6b912ffd4404bb455e0f78d527e">PCONV_INFO</a>&#160;</td>
          <td class="paramname"><em>pcoi</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">BOOL&#160;</td>
          <td class="paramname"><em>gGoingZombie</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00062_source.html">connect.c</a> 第 <a class="el" href="a00062_source.html#l01151">1151</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l01154"></a><span class="lineno"> 1154</span>&#160;{</div>
<div class="line"><a name="l01155"></a><span class="lineno"> 1155</span>&#160;    <a class="code" href="a01845.html">PCONV_INFO</a> pcoiPrev, pcoiFirst, pcoiNow;</div>
<div class="line"><a name="l01156"></a><span class="lineno"> 1156</span>&#160;    <a class="code" href="a01857.html">PCONVLIST</a> pcl;</div>
<div class="line"><a name="l01157"></a><span class="lineno"> 1157</span>&#160;    <span class="keywordtype">int</span> i, cActiveInList = 0;</div>
<div class="line"><a name="l01158"></a><span class="lineno"> 1158</span>&#160;<span class="preprocessor">#ifdef TESTING</span></div>
<div class="line"><a name="l01159"></a><span class="lineno"> 1159</span>&#160;    <a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a> path = 0;</div>
<div class="line"><a name="l01160"></a><span class="lineno"> 1160</span>&#160;<span class="preprocessor">#define ORPATH(x) path |= x;</span></div>
<div class="line"><a name="l01161"></a><span class="lineno"> 1161</span>&#160;<span class="preprocessor">#else</span></div>
<div class="line"><a name="l01162"></a><span class="lineno"> 1162</span>&#160;<span class="preprocessor">#define ORPATH(x)</span></div>
<div class="line"><a name="l01163"></a><span class="lineno"> 1163</span>&#160;<span class="preprocessor">#endif // TESTING</span></div>
<div class="line"><a name="l01164"></a><span class="lineno"> 1164</span>&#160; </div>
<div class="line"><a name="l01165"></a><span class="lineno"> 1165</span>&#160;    <a class="code" href="a00086.html#ac64721bd6049de0997fb056a93022b8e">CheckDDECritIn</a>;</div>
<div class="line"><a name="l01166"></a><span class="lineno"> 1166</span>&#160; </div>
<div class="line"><a name="l01167"></a><span class="lineno"> 1167</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l01168"></a><span class="lineno"> 1168</span>&#160;<span class="comment">     * Scan pcoi linked list to get key pointers.</span></div>
<div class="line"><a name="l01169"></a><span class="lineno"> 1169</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l01170"></a><span class="lineno"> 1170</span>&#160;    pcoiPrev = NULL;</div>
<div class="line"><a name="l01171"></a><span class="lineno"> 1171</span>&#160;    pcoiFirst = pcoiNow = (<a class="code" href="a00086.html#ac204a6b912ffd4404bb455e0f78d527e">PCONV_INFO</a>)GetWindowLong(pcoi-&gt;<a class="code" href="a01845.html#aba9f8f0b5693cc2b4e3e1399bb9db05f">hwndConv</a>, GWL_PCI);</div>
<div class="line"><a name="l01172"></a><span class="lineno"> 1172</span>&#160; </div>
<div class="line"><a name="l01173"></a><span class="lineno"> 1173</span>&#160;<span class="preprocessor">#ifdef TESTING</span></div>
<div class="line"><a name="l01174"></a><span class="lineno"> 1174</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l01175"></a><span class="lineno"> 1175</span>&#160;<span class="comment">     * verify that pcoi is in the conv list for this window.</span></div>
<div class="line"><a name="l01176"></a><span class="lineno"> 1176</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l01177"></a><span class="lineno"> 1177</span>&#160;    <span class="keywordflow">while</span> (pcoiNow != NULL) {</div>
<div class="line"><a name="l01178"></a><span class="lineno"> 1178</span>&#160;        <span class="keywordflow">if</span> (pcoiNow == pcoi) {</div>
<div class="line"><a name="l01179"></a><span class="lineno"> 1179</span>&#160;            <span class="keywordflow">goto</span> FoundIt;</div>
<div class="line"><a name="l01180"></a><span class="lineno"> 1180</span>&#160;        }</div>
<div class="line"><a name="l01181"></a><span class="lineno"> 1181</span>&#160;        pcoiNow = pcoiNow-&gt;<a class="code" href="a01845.html#a6f9fff70be46542c217424f5f415821a">next</a>;</div>
<div class="line"><a name="l01182"></a><span class="lineno"> 1182</span>&#160;    }</div>
<div class="line"><a name="l01183"></a><span class="lineno"> 1183</span>&#160;    DebugBreak();</div>
<div class="line"><a name="l01184"></a><span class="lineno"> 1184</span>&#160;FoundIt:</div>
<div class="line"><a name="l01185"></a><span class="lineno"> 1185</span>&#160;    pcoiNow = pcoiFirst;</div>
<div class="line"><a name="l01186"></a><span class="lineno"> 1186</span>&#160;<span class="preprocessor">#endif // TESTING</span></div>
<div class="line"><a name="l01187"></a><span class="lineno"> 1187</span>&#160; </div>
<div class="line"><a name="l01188"></a><span class="lineno"> 1188</span>&#160;    <a class="code" href="a00371.html#a162a73e20dfabca084a3ebb4581631a8">UserAssert</a>(pcoiFirst);</div>
<div class="line"><a name="l01189"></a><span class="lineno"> 1189</span>&#160;    <span class="keywordflow">while</span> (pcoiNow != NULL) {</div>
<div class="line"><a name="l01190"></a><span class="lineno"> 1190</span>&#160;        <span class="keywordflow">if</span> (<a class="code" href="a00086.html#a9f92b4400059a7c08adc8bafc2925fc2">TypeFromHandle</a>(pcoiNow-&gt;<a class="code" href="a01845.html#aed1dfd4816a13b9e20712ad7049e1fcc">hConv</a>) != <a class="code" href="a00086.html#a0660b85f18aadfcf2c8dead0124a746a">HTYPE_ZOMBIE_CONVERSATION</a>) {</div>
<div class="line"><a name="l01191"></a><span class="lineno"> 1191</span>&#160;            <a class="code" href="a00062.html#a4863a189f653fed31e8bf9837bdb0b47">ORPATH</a>(1);</div>
<div class="line"><a name="l01192"></a><span class="lineno"> 1192</span>&#160;            cActiveInList++;</div>
<div class="line"><a name="l01193"></a><span class="lineno"> 1193</span>&#160;        }</div>
<div class="line"><a name="l01194"></a><span class="lineno"> 1194</span>&#160;        <span class="keywordflow">if</span> (pcoiNow-&gt;<a class="code" href="a01845.html#a6f9fff70be46542c217424f5f415821a">next</a> == pcoi) {</div>
<div class="line"><a name="l01195"></a><span class="lineno"> 1195</span>&#160;            pcoiPrev = pcoiNow;</div>
<div class="line"><a name="l01196"></a><span class="lineno"> 1196</span>&#160;        }</div>
<div class="line"><a name="l01197"></a><span class="lineno"> 1197</span>&#160;        pcoiNow = pcoiNow-&gt;<a class="code" href="a01845.html#a6f9fff70be46542c217424f5f415821a">next</a>;</div>
<div class="line"><a name="l01198"></a><span class="lineno"> 1198</span>&#160;    }</div>
<div class="line"><a name="l01199"></a><span class="lineno"> 1199</span>&#160; </div>
<div class="line"><a name="l01200"></a><span class="lineno"> 1200</span>&#160;    <a class="code" href="a00062.html#acb7fd842bb474c0aa48bd43f3ebd9b94">ValidateAllConvLists</a>();</div>
<div class="line"><a name="l01201"></a><span class="lineno"> 1201</span>&#160; </div>
<div class="line"><a name="l01202"></a><span class="lineno"> 1202</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l01203"></a><span class="lineno"> 1203</span>&#160;<span class="comment">     * Unlink conversation unless its going Zombie.</span></div>
<div class="line"><a name="l01204"></a><span class="lineno"> 1204</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l01205"></a><span class="lineno"> 1205</span>&#160;    <span class="keywordflow">if</span> (!gGoingZombie) {</div>
<div class="line"><a name="l01206"></a><span class="lineno"> 1206</span>&#160;        <a class="code" href="a00062.html#a4863a189f653fed31e8bf9837bdb0b47">ORPATH</a>(2);</div>
<div class="line"><a name="l01207"></a><span class="lineno"> 1207</span>&#160;        <span class="keywordflow">if</span> (<a class="code" href="a00086.html#a9f92b4400059a7c08adc8bafc2925fc2">TypeFromHandle</a>(pcoi-&gt;<a class="code" href="a01845.html#aed1dfd4816a13b9e20712ad7049e1fcc">hConv</a>) != <a class="code" href="a00086.html#a0660b85f18aadfcf2c8dead0124a746a">HTYPE_ZOMBIE_CONVERSATION</a>) {</div>
<div class="line"><a name="l01208"></a><span class="lineno"> 1208</span>&#160;            <a class="code" href="a00062.html#a4863a189f653fed31e8bf9837bdb0b47">ORPATH</a>(4);</div>
<div class="line"><a name="l01209"></a><span class="lineno"> 1209</span>&#160;            cActiveInList--;</div>
<div class="line"><a name="l01210"></a><span class="lineno"> 1210</span>&#160;        }</div>
<div class="line"><a name="l01211"></a><span class="lineno"> 1211</span>&#160; </div>
<div class="line"><a name="l01212"></a><span class="lineno"> 1212</span>&#160;        <span class="keywordflow">if</span> (pcoiPrev == NULL) {</div>
<div class="line"><a name="l01213"></a><span class="lineno"> 1213</span>&#160;            <a class="code" href="a00062.html#a4863a189f653fed31e8bf9837bdb0b47">ORPATH</a>(8);</div>
<div class="line"><a name="l01214"></a><span class="lineno"> 1214</span>&#160;            pcoiFirst = pcoi-&gt;<a class="code" href="a01845.html#a6f9fff70be46542c217424f5f415821a">next</a>;</div>
<div class="line"><a name="l01215"></a><span class="lineno"> 1215</span>&#160;            SetWindowLong(pcoi-&gt;<a class="code" href="a01845.html#aba9f8f0b5693cc2b4e3e1399bb9db05f">hwndConv</a>, GWL_PCI, (LONG)pcoiFirst);</div>
<div class="line"><a name="l01216"></a><span class="lineno"> 1216</span>&#160;        } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l01217"></a><span class="lineno"> 1217</span>&#160;            pcoiPrev-&gt;<a class="code" href="a01845.html#a6f9fff70be46542c217424f5f415821a">next</a> = pcoi-&gt;<a class="code" href="a01845.html#a6f9fff70be46542c217424f5f415821a">next</a>;</div>
<div class="line"><a name="l01218"></a><span class="lineno"> 1218</span>&#160;        }</div>
<div class="line"><a name="l01219"></a><span class="lineno"> 1219</span>&#160;    }</div>
<div class="line"><a name="l01220"></a><span class="lineno"> 1220</span>&#160; </div>
<div class="line"><a name="l01221"></a><span class="lineno"> 1221</span>&#160;    <a class="code" href="a00371.html#a162a73e20dfabca084a3ebb4581631a8">UserAssert</a>(pcoiFirst != NULL || !cActiveInList);</div>
<div class="line"><a name="l01222"></a><span class="lineno"> 1222</span>&#160; </div>
<div class="line"><a name="l01223"></a><span class="lineno"> 1223</span>&#160;    <span class="keywordflow">if</span> (cActiveInList == 0) {</div>
<div class="line"><a name="l01224"></a><span class="lineno"> 1224</span>&#160;        <a class="code" href="a00062.html#a4863a189f653fed31e8bf9837bdb0b47">ORPATH</a>(0x10);</div>
<div class="line"><a name="l01225"></a><span class="lineno"> 1225</span>&#160;        <span class="keywordflow">if</span> (pcoi-&gt;<a class="code" href="a01845.html#a5d717a64978f34c9afb8ae23374160a0">state</a> &amp; ST_CLIENT) {</div>
<div class="line"><a name="l01226"></a><span class="lineno"> 1226</span>&#160;            <a class="code" href="a00062.html#a4863a189f653fed31e8bf9837bdb0b47">ORPATH</a>(0x20);</div>
<div class="line"><a name="l01227"></a><span class="lineno"> 1227</span>&#160;            <span class="keywordflow">if</span> (((<a class="code" href="a01849.html">PCL_CONV_INFO</a>)pcoi)-&gt;hConvList) {</div>
<div class="line"><a name="l01228"></a><span class="lineno"> 1228</span>&#160;                <span class="comment">/*</span></div>
<div class="line"><a name="l01229"></a><span class="lineno"> 1229</span>&#160;<span class="comment">                 * Remove pcoi&#39;s hwnd from its hConvList.</span></div>
<div class="line"><a name="l01230"></a><span class="lineno"> 1230</span>&#160;<span class="comment">                 */</span></div>
<div class="line"><a name="l01231"></a><span class="lineno"> 1231</span>&#160;                pcl = (<a class="code" href="a00086.html#a6e32f41e048da966b06caf60267b5580">PCONVLIST</a>)<a class="code" href="a00086.html#ace76c837c4a69e5da55f6a99429eb8d9">GetHandleData</a>((HANDLE)((<a class="code" href="a00086.html#a3dc39629249824029407d9b5954b34f5">PCL_CONV_INFO</a>)pcoi)-&gt;hConvList);</div>
<div class="line"><a name="l01232"></a><span class="lineno"> 1232</span>&#160;                <span class="keywordflow">for</span> (i = 0; i &lt; pcl-&gt;<a class="code" href="a01857.html#a4790abb1d49e1e3ec035ae70eef5cf2f">chwnd</a>; i++) {</div>
<div class="line"><a name="l01233"></a><span class="lineno"> 1233</span>&#160;                    <span class="keywordflow">if</span> (pcl-&gt;<a class="code" href="a01857.html#a620348880fc95c088c58c878ff8ba55a">ahwnd</a>[i] == pcoi-&gt;hwndConv) {</div>
<div class="line"><a name="l01234"></a><span class="lineno"> 1234</span>&#160;                        <a class="code" href="a00062.html#a4863a189f653fed31e8bf9837bdb0b47">ORPATH</a>(0x40);</div>
<div class="line"><a name="l01235"></a><span class="lineno"> 1235</span>&#160;                        pcl-&gt;<a class="code" href="a01857.html#a4790abb1d49e1e3ec035ae70eef5cf2f">chwnd</a>--;</div>
<div class="line"><a name="l01236"></a><span class="lineno"> 1236</span>&#160;                        <a class="code" href="a00371.html#a162a73e20dfabca084a3ebb4581631a8">UserAssert</a>(pcl-&gt;<a class="code" href="a01857.html#a620348880fc95c088c58c878ff8ba55a">ahwnd</a>[pcl-&gt;<a class="code" href="a01857.html#a4790abb1d49e1e3ec035ae70eef5cf2f">chwnd</a>]);</div>
<div class="line"><a name="l01237"></a><span class="lineno"> 1237</span>&#160;                        pcl-&gt;<a class="code" href="a01857.html#a620348880fc95c088c58c878ff8ba55a">ahwnd</a>[i] = pcl-&gt;<a class="code" href="a01857.html#a620348880fc95c088c58c878ff8ba55a">ahwnd</a>[pcl-&gt;<a class="code" href="a01857.html#a4790abb1d49e1e3ec035ae70eef5cf2f">chwnd</a>];</div>
<div class="line"><a name="l01238"></a><span class="lineno"> 1238</span>&#160;                        <a class="code" href="a00062.html#a6989104e037ecc4ac73d9973485bab1f">ValidateConvList</a>(((<a class="code" href="a01849.html">PCL_CONV_INFO</a>)pcoi)-&gt;hConvList);</div>
<div class="line"><a name="l01239"></a><span class="lineno"> 1239</span>&#160;                        <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l01240"></a><span class="lineno"> 1240</span>&#160;                    }</div>
<div class="line"><a name="l01241"></a><span class="lineno"> 1241</span>&#160;                }</div>
<div class="line"><a name="l01242"></a><span class="lineno"> 1242</span>&#160;                <a class="code" href="a00062.html#a4863a189f653fed31e8bf9837bdb0b47">ORPATH</a>(0x80);</div>
<div class="line"><a name="l01243"></a><span class="lineno"> 1243</span>&#160;            }</div>
<div class="line"><a name="l01244"></a><span class="lineno"> 1244</span>&#160;        } <span class="keywordflow">else</span> {  <span class="comment">// SERVER</span></div>
<div class="line"><a name="l01245"></a><span class="lineno"> 1245</span>&#160;            <span class="comment">/*</span></div>
<div class="line"><a name="l01246"></a><span class="lineno"> 1246</span>&#160;<span class="comment">             * remove server window from the service/topic lookup table.</span></div>
<div class="line"><a name="l01247"></a><span class="lineno"> 1247</span>&#160;<span class="comment">             */</span></div>
<div class="line"><a name="l01248"></a><span class="lineno"> 1248</span>&#160;            <a class="code" href="a00062.html#a4863a189f653fed31e8bf9837bdb0b47">ORPATH</a>(0x100);</div>
<div class="line"><a name="l01249"></a><span class="lineno"> 1249</span>&#160;            <span class="keywordflow">for</span> (i = 0; i &lt; pcoi-&gt;pcii-&gt;cServerLookupAlloc; i++) {</div>
<div class="line"><a name="l01250"></a><span class="lineno"> 1250</span>&#160;                <span class="keywordflow">if</span> (pcoi-&gt;pcii-&gt;aServerLookup[i].hwndServer == pcoi-&gt;hwndConv) {</div>
<div class="line"><a name="l01251"></a><span class="lineno"> 1251</span>&#160;                    <a class="code" href="a00062.html#a4863a189f653fed31e8bf9837bdb0b47">ORPATH</a>(0x200);</div>
<div class="line"><a name="l01252"></a><span class="lineno"> 1252</span>&#160;                    <span class="keywordflow">if</span> (--(pcoi-&gt;pcii-&gt;cServerLookupAlloc)) {</div>
<div class="line"><a name="l01253"></a><span class="lineno"> 1253</span>&#160;                        <a class="code" href="a00062.html#a4863a189f653fed31e8bf9837bdb0b47">ORPATH</a>(0x400);</div>
<div class="line"><a name="l01254"></a><span class="lineno"> 1254</span>&#160;                        pcoi-&gt;pcii-&gt;aServerLookup[i] =</div>
<div class="line"><a name="l01255"></a><span class="lineno"> 1255</span>&#160;                                pcoi-&gt;pcii-&gt;aServerLookup[pcoi-&gt;pcii-&gt;cServerLookupAlloc];</div>
<div class="line"><a name="l01256"></a><span class="lineno"> 1256</span>&#160;                    } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l01257"></a><span class="lineno"> 1257</span>&#160;                        <a class="code" href="a00086.html#a14b7b2abd485b184293dcd3d34c29e23">DDEMLFree</a>(pcoi-&gt;pcii-&gt;aServerLookup);</div>
<div class="line"><a name="l01258"></a><span class="lineno"> 1258</span>&#160;                        pcoi-&gt;pcii-&gt;aServerLookup = NULL;</div>
<div class="line"><a name="l01259"></a><span class="lineno"> 1259</span>&#160;                    }</div>
<div class="line"><a name="l01260"></a><span class="lineno"> 1260</span>&#160;                    <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l01261"></a><span class="lineno"> 1261</span>&#160;                }</div>
<div class="line"><a name="l01262"></a><span class="lineno"> 1262</span>&#160;            }</div>
<div class="line"><a name="l01263"></a><span class="lineno"> 1263</span>&#160;        }</div>
<div class="line"><a name="l01264"></a><span class="lineno"> 1264</span>&#160;    }</div>
<div class="line"><a name="l01265"></a><span class="lineno"> 1265</span>&#160;<span class="preprocessor">#ifdef TESTING</span></div>
<div class="line"><a name="l01266"></a><span class="lineno"> 1266</span>&#160;      <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l01267"></a><span class="lineno"> 1267</span>&#160;        <span class="comment">/*</span></div>
<div class="line"><a name="l01268"></a><span class="lineno"> 1268</span>&#160;<span class="comment">         * make sure at this point we have at least one non-zombie</span></div>
<div class="line"><a name="l01269"></a><span class="lineno"> 1269</span>&#160;<span class="comment">         */</span></div>
<div class="line"><a name="l01270"></a><span class="lineno"> 1270</span>&#160;        pcoiNow = pcoiFirst;</div>
<div class="line"><a name="l01271"></a><span class="lineno"> 1271</span>&#160;        <span class="keywordflow">while</span> (pcoiNow != NULL) {</div>
<div class="line"><a name="l01272"></a><span class="lineno"> 1272</span>&#160;            <span class="keywordflow">if</span> (<a class="code" href="a00086.html#a9f92b4400059a7c08adc8bafc2925fc2">TypeFromHandle</a>(pcoiNow-&gt;<a class="code" href="a01845.html#aed1dfd4816a13b9e20712ad7049e1fcc">hConv</a>) != <a class="code" href="a00086.html#a0660b85f18aadfcf2c8dead0124a746a">HTYPE_ZOMBIE_CONVERSATION</a>) {</div>
<div class="line"><a name="l01273"></a><span class="lineno"> 1273</span>&#160;                <span class="keywordflow">goto</span> Out;</div>
<div class="line"><a name="l01274"></a><span class="lineno"> 1274</span>&#160;            }</div>
<div class="line"><a name="l01275"></a><span class="lineno"> 1275</span>&#160;            pcoiNow = pcoiNow-&gt;<a class="code" href="a01845.html#a6f9fff70be46542c217424f5f415821a">next</a>;</div>
<div class="line"><a name="l01276"></a><span class="lineno"> 1276</span>&#160;        }</div>
<div class="line"><a name="l01277"></a><span class="lineno"> 1277</span>&#160;        DebugBreak();</div>
<div class="line"><a name="l01278"></a><span class="lineno"> 1278</span>&#160;Out:</div>
<div class="line"><a name="l01279"></a><span class="lineno"> 1279</span>&#160;        ;</div>
<div class="line"><a name="l01280"></a><span class="lineno"> 1280</span>&#160;    }</div>
<div class="line"><a name="l01281"></a><span class="lineno"> 1281</span>&#160;<span class="preprocessor">#endif // TESTING</span></div>
<div class="line"><a name="l01282"></a><span class="lineno"> 1282</span>&#160; </div>
<div class="line"><a name="l01283"></a><span class="lineno"> 1283</span>&#160;    <a class="code" href="a00062.html#acb7fd842bb474c0aa48bd43f3ebd9b94">ValidateAllConvLists</a>();</div>
<div class="line"><a name="l01284"></a><span class="lineno"> 1284</span>&#160;    <a class="code" href="a00062.html#a4863a189f653fed31e8bf9837bdb0b47">ORPATH</a>(0x800);</div>
<div class="line"><a name="l01285"></a><span class="lineno"> 1285</span>&#160; </div>
<div class="line"><a name="l01286"></a><span class="lineno"> 1286</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l01287"></a><span class="lineno"> 1287</span>&#160;<span class="comment">     * In any case remove hConvList references from client conversation.</span></div>
<div class="line"><a name="l01288"></a><span class="lineno"> 1288</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l01289"></a><span class="lineno"> 1289</span>&#160;    <span class="keywordflow">if</span> (pcoi-&gt;state &amp; ST_CLIENT) {</div>
<div class="line"><a name="l01290"></a><span class="lineno"> 1290</span>&#160;<span class="preprocessor">#ifdef TESTING</span></div>
<div class="line"><a name="l01291"></a><span class="lineno"> 1291</span>&#160;        <span class="comment">/*</span></div>
<div class="line"><a name="l01292"></a><span class="lineno"> 1292</span>&#160;<span class="comment">         * Verify that the hConvList that is being removed, doesn&#39;t reference</span></div>
<div class="line"><a name="l01293"></a><span class="lineno"> 1293</span>&#160;<span class="comment">         * this window.</span></div>
<div class="line"><a name="l01294"></a><span class="lineno"> 1294</span>&#160;<span class="comment">         */</span></div>
<div class="line"><a name="l01295"></a><span class="lineno"> 1295</span>&#160;        <span class="keywordflow">if</span> (((<a class="code" href="a01849.html">PCL_CONV_INFO</a>)pcoi)-&gt;hConvList &amp;&amp; !cActiveInList) {</div>
<div class="line"><a name="l01296"></a><span class="lineno"> 1296</span>&#160;            BOOL fFound = FALSE;</div>
<div class="line"><a name="l01297"></a><span class="lineno"> 1297</span>&#160; </div>
<div class="line"><a name="l01298"></a><span class="lineno"> 1298</span>&#160;            pcl = (<a class="code" href="a00086.html#a6e32f41e048da966b06caf60267b5580">PCONVLIST</a>)<a class="code" href="a00086.html#ace76c837c4a69e5da55f6a99429eb8d9">GetHandleData</a>((HANDLE)((<a class="code" href="a00086.html#a3dc39629249824029407d9b5954b34f5">PCL_CONV_INFO</a>)pcoi)-&gt;hConvList);</div>
<div class="line"><a name="l01299"></a><span class="lineno"> 1299</span>&#160;            <span class="keywordflow">for</span> (i = 0; i &lt; pcl-&gt;<a class="code" href="a01857.html#a4790abb1d49e1e3ec035ae70eef5cf2f">chwnd</a>; i++) {</div>
<div class="line"><a name="l01300"></a><span class="lineno"> 1300</span>&#160;                <span class="keywordflow">if</span> (pcl-&gt;<a class="code" href="a01857.html#a620348880fc95c088c58c878ff8ba55a">ahwnd</a>[i] == pcoi-&gt;hwndConv) {</div>
<div class="line"><a name="l01301"></a><span class="lineno"> 1301</span>&#160;                    fFound = TRUE;</div>
<div class="line"><a name="l01302"></a><span class="lineno"> 1302</span>&#160;                    <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l01303"></a><span class="lineno"> 1303</span>&#160;                }</div>
<div class="line"><a name="l01304"></a><span class="lineno"> 1304</span>&#160;            }</div>
<div class="line"><a name="l01305"></a><span class="lineno"> 1305</span>&#160;            <a class="code" href="a00371.html#a162a73e20dfabca084a3ebb4581631a8">UserAssert</a>(!fFound);</div>
<div class="line"><a name="l01306"></a><span class="lineno"> 1306</span>&#160;        }</div>
<div class="line"><a name="l01307"></a><span class="lineno"> 1307</span>&#160;<span class="preprocessor">#endif // TESTING</span></div>
<div class="line"><a name="l01308"></a><span class="lineno"> 1308</span>&#160;        ((<a class="code" href="a00086.html#a3dc39629249824029407d9b5954b34f5">PCL_CONV_INFO</a>)pcoi)-&gt;hConvList = 0;</div>
<div class="line"><a name="l01309"></a><span class="lineno"> 1309</span>&#160;        pcoi-&gt;state &amp;= ~ST_INLIST;</div>
<div class="line"><a name="l01310"></a><span class="lineno"> 1310</span>&#160;    }</div>
<div class="line"><a name="l01311"></a><span class="lineno"> 1311</span>&#160; </div>
<div class="line"><a name="l01312"></a><span class="lineno"> 1312</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l01313"></a><span class="lineno"> 1313</span>&#160;<span class="comment">     * last one out turns out the lights.</span></div>
<div class="line"><a name="l01314"></a><span class="lineno"> 1314</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l01315"></a><span class="lineno"> 1315</span>&#160;    <span class="keywordflow">if</span> (pcoiFirst == NULL) {</div>
<div class="line"><a name="l01316"></a><span class="lineno"> 1316</span>&#160;        <span class="comment">/*</span></div>
<div class="line"><a name="l01317"></a><span class="lineno"> 1317</span>&#160;<span class="comment">         * If the pcoi list is empty, this window can go away.</span></div>
<div class="line"><a name="l01318"></a><span class="lineno"> 1318</span>&#160;<span class="comment">         */</span></div>
<div class="line"><a name="l01319"></a><span class="lineno"> 1319</span>&#160;        <a class="code" href="a00086.html#a3b5310e2dd6b3c42cb13fa51a1b4e254">LeaveDDECrit</a>;</div>
<div class="line"><a name="l01320"></a><span class="lineno"> 1320</span>&#160;        <a class="code" href="a00362.html#a0aa1711ac96764929b5aec3aadb7af2f">NtUserDestroyWindow</a>(pcoi-&gt;hwndConv);</div>
<div class="line"><a name="l01321"></a><span class="lineno"> 1321</span>&#160;        <a class="code" href="a00086.html#a8c66aaa58bd4b338d4f04ae07d4fb23a">EnterDDECrit</a>;</div>
<div class="line"><a name="l01322"></a><span class="lineno"> 1322</span>&#160;    }</div>
<div class="line"><a name="l01323"></a><span class="lineno"> 1323</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00086_source.html#l00234">tagCONVLIST::ahwnd</a>, <a class="el" href="a00086_source.html#l00189">tagCL_INSTANCE_INFO::aServerLookup</a>, <a class="el" href="a00086_source.html#l00050">CheckDDECritIn</a>, <a class="el" href="a00086_source.html#l00233">tagCONVLIST::chwnd</a>, <a class="el" href="a00086_source.html#l00190">tagCL_INSTANCE_INFO::cServerLookupAlloc</a>, <a class="el" href="a00086_source.html#l00014">DDEMLFree</a>, <a class="el" href="a00563_source.html#l00175">DWORD</a>, <a class="el" href="a00086_source.html#l00040">EnterDDECrit</a>, <a class="el" href="a00155_source.html#l00165">GetHandleData()</a>, <a class="el" href="a00086_source.html#l00206">tagCONV_INFO::hConv</a>, <a class="el" href="a00086_source.html#l00101">HTYPE_ZOMBIE_CONVERSATION</a>, <a class="el" href="a00086_source.html#l00210">tagCONV_INFO::hwndConv</a>, <a class="el" href="a00086_source.html#l00162">tagSERVER_LOOKUP::hwndServer</a>, <a class="el" href="a00086_source.html#l00041">LeaveDDECrit</a>, <a class="el" href="a00086_source.html#l00203">tagCONV_INFO::next</a>, <a class="el" href="a03614_source.html#l02870">NtUserDestroyWindow()</a>, <a class="el" href="a00062.html#a4863a189f653fed31e8bf9837bdb0b47">ORPATH</a>, <a class="el" href="a00086_source.html#l00204">tagCONV_INFO::pcii</a>, <a class="el" href="a00086_source.html#l00211">tagCONV_INFO::state</a>, <a class="el" href="a00086_source.html#l00086">TypeFromHandle</a>, <a class="el" href="a00950_source.html#l00117">UserAssert</a>, <a class="el" href="a00062_source.html#l00101">ValidateAllConvLists</a> , 以及 <a class="el" href="a00062_source.html#l00100">ValidateConvList</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00062_source.html#l01343">FreeConversationResources()</a>.</p>

</div>
</div>
<a id="a40329f973a119a2a8109a08379b5e0c6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a40329f973a119a2a8109a08379b5e0c6">&#9670;&nbsp;</a></span>ValidateConnectParameters()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">BOOL ValidateConnectParameters </td>
          <td>(</td>
          <td class="paramtype">HANDLE&#160;</td>
          <td class="paramname"><em>hInst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00086.html#af3e1f90b1c4f51b56c010009ceac2ddb">PCL_INSTANCE_INFO</a> *&#160;</td>
          <td class="paramname"><em>ppcii</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">HSZ *&#160;</td>
          <td class="paramname"><em>phszService</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">HSZ&#160;</td>
          <td class="paramname"><em>hszTopic</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00086.html#afb884b9e2fb48a9b845acffcb306c059">LATOM</a> *&#160;</td>
          <td class="paramname"><em>plaNormalSvcName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">PCONVCONTEXT *&#160;</td>
          <td class="paramname"><em>ppCC</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">HWND *&#160;</td>
          <td class="paramname"><em>phwndTarget</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">HCONVLIST&#160;</td>
          <td class="paramname"><em>hConvList</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00062_source.html">connect.c</a> 第 <a class="el" href="a00062_source.html#l00489">489</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00498"></a><span class="lineno">  498</span>&#160;{</div>
<div class="line"><a name="l00499"></a><span class="lineno">  499</span>&#160;    <a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a> hszType;</div>
<div class="line"><a name="l00500"></a><span class="lineno">  500</span>&#160;    BOOL fError = FALSE;</div>
<div class="line"><a name="l00501"></a><span class="lineno">  501</span>&#160; </div>
<div class="line"><a name="l00502"></a><span class="lineno">  502</span>&#160;    *ppcii = <a class="code" href="a00086.html#a79511ee28e1a1b4843ee182f03a7f975">ValidateInstance</a>(hInst);</div>
<div class="line"><a name="l00503"></a><span class="lineno">  503</span>&#160;    <span class="keywordflow">if</span> (*ppcii == NULL) {</div>
<div class="line"><a name="l00504"></a><span class="lineno">  504</span>&#160;        <span class="keywordflow">return</span> (FALSE);</div>
<div class="line"><a name="l00505"></a><span class="lineno">  505</span>&#160;    }</div>
<div class="line"><a name="l00506"></a><span class="lineno">  506</span>&#160;    hszType = <a class="code" href="a00086.html#ab4b8799817dd461e619a02ba50744fca">ValidateHSZ</a>(*phszService);</div>
<div class="line"><a name="l00507"></a><span class="lineno">  507</span>&#160;    <span class="keywordflow">if</span> (hszType == <a class="code" href="a00086.html#a5fdfc9c14ae2a16615114c2ad79bd609">HSZT_INVALID</a> || <a class="code" href="a00086.html#ab4b8799817dd461e619a02ba50744fca">ValidateHSZ</a>(hszTopic) == <a class="code" href="a00086.html#a5fdfc9c14ae2a16615114c2ad79bd609">HSZT_INVALID</a>) {</div>
<div class="line"><a name="l00508"></a><span class="lineno">  508</span>&#160;        <a class="code" href="a00086.html#a8b2e79f5b5173a6fbfeb65e2195720c3">SetLastDDEMLError</a>(*ppcii, DMLERR_INVALIDPARAMETER);</div>
<div class="line"><a name="l00509"></a><span class="lineno">  509</span>&#160;        <span class="keywordflow">return</span> (FALSE);</div>
<div class="line"><a name="l00510"></a><span class="lineno">  510</span>&#160;    }</div>
<div class="line"><a name="l00511"></a><span class="lineno">  511</span>&#160;    <span class="keywordflow">if</span> (hszType == <a class="code" href="a00086.html#ab3c1d0a3add62ab08ba61e005908c04a">HSZT_INST_SPECIFIC</a>) {</div>
<div class="line"><a name="l00512"></a><span class="lineno">  512</span>&#160;        *phwndTarget = <a class="code" href="a00086.html#a09d781db504a8acf1cc60ed2f195ff29">ParseInstSpecificAtom</a>(<a class="code" href="a00086.html#a4ef5faecf33ead428f95c9e93ef1ef4d">LATOM_FROM_HSZ</a>(*phszService),</div>
<div class="line"><a name="l00513"></a><span class="lineno">  513</span>&#160;            plaNormalSvcName);</div>
<div class="line"><a name="l00514"></a><span class="lineno">  514</span>&#160;        <span class="keywordflow">if</span> (*plaNormalSvcName == 0) {</div>
<div class="line"><a name="l00515"></a><span class="lineno">  515</span>&#160;            <a class="code" href="a00086.html#a8b2e79f5b5173a6fbfeb65e2195720c3">SetLastDDEMLError</a>(*ppcii, DMLERR_SYS_ERROR);</div>
<div class="line"><a name="l00516"></a><span class="lineno">  516</span>&#160;            <span class="keywordflow">return</span> (FALSE);</div>
<div class="line"><a name="l00517"></a><span class="lineno">  517</span>&#160;        }</div>
<div class="line"><a name="l00518"></a><span class="lineno">  518</span>&#160;        *phszService = <a class="code" href="a00086.html#a8ec365b8e8550c587aadd14daeb84b2b">NORMAL_HSZ_FROM_LATOM</a>(*plaNormalSvcName);</div>
<div class="line"><a name="l00519"></a><span class="lineno">  519</span>&#160;    }</div>
<div class="line"><a name="l00520"></a><span class="lineno">  520</span>&#160;    <span class="keywordflow">if</span> (*ppCC == NULL) {</div>
<div class="line"><a name="l00521"></a><span class="lineno">  521</span>&#160;        *ppCC = &amp;<a class="code" href="a00062.html#addc35586476828be0ae63df36451855f">DefConvContext</a>;</div>
<div class="line"><a name="l00522"></a><span class="lineno">  522</span>&#160;        <span class="keywordflow">if</span> ((*ppcii)-&gt;flags &amp; <a class="code" href="a00086.html#a0f4016e3ebbfb4b5abedc02b893f9df5">IIF_UNICODE</a>) {</div>
<div class="line"><a name="l00523"></a><span class="lineno">  523</span>&#160;            (*ppCC)-&gt;iCodePage = CP_WINUNICODE;</div>
<div class="line"><a name="l00524"></a><span class="lineno">  524</span>&#160;        } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00525"></a><span class="lineno">  525</span>&#160;            (*ppCC)-&gt;iCodePage = CP_WINANSI;</div>
<div class="line"><a name="l00526"></a><span class="lineno">  526</span>&#160;        }</div>
<div class="line"><a name="l00527"></a><span class="lineno">  527</span>&#160;    } <span class="keywordflow">else</span> <span class="keywordflow">try</span> {</div>
<div class="line"><a name="l00528"></a><span class="lineno">  528</span>&#160;        <span class="keywordflow">if</span> ((*ppCC)-&gt;cb &gt; <span class="keyword">sizeof</span>(CONVCONTEXT)) {</div>
<div class="line"><a name="l00529"></a><span class="lineno">  529</span>&#160;            <a class="code" href="a00086.html#a8b2e79f5b5173a6fbfeb65e2195720c3">SetLastDDEMLError</a>(*ppcii, DMLERR_INVALIDPARAMETER);</div>
<div class="line"><a name="l00530"></a><span class="lineno">  530</span>&#160;            fError = TRUE;</div>
<div class="line"><a name="l00531"></a><span class="lineno">  531</span>&#160;        } <span class="keywordflow">else</span> <span class="keywordflow">if</span> ((*ppCC)-&gt;cb &lt; <span class="keyword">sizeof</span>(CONVCONTEXT)) {</div>
<div class="line"><a name="l00532"></a><span class="lineno">  532</span>&#160;            <a class="code" href="a00062.html#a8aed2ad56557545e2f1dec7d3d942f2e">TempConvContext</a> = <a class="code" href="a00062.html#addc35586476828be0ae63df36451855f">DefConvContext</a>;</div>
<div class="line"><a name="l00533"></a><span class="lineno">  533</span>&#160;            <span class="comment">/*</span></div>
<div class="line"><a name="l00534"></a><span class="lineno">  534</span>&#160;<span class="comment">             * we can use this static temp because we are synchronized.</span></div>
<div class="line"><a name="l00535"></a><span class="lineno">  535</span>&#160;<span class="comment">             */</span></div>
<div class="line"><a name="l00536"></a><span class="lineno">  536</span>&#160;            RtlCopyMemory(&amp;<a class="code" href="a00062.html#a8aed2ad56557545e2f1dec7d3d942f2e">TempConvContext</a>, *ppCC, (*ppCC)-&gt;cb);</div>
<div class="line"><a name="l00537"></a><span class="lineno">  537</span>&#160;            *ppCC = &amp;<a class="code" href="a00062.html#a8aed2ad56557545e2f1dec7d3d942f2e">TempConvContext</a>;</div>
<div class="line"><a name="l00538"></a><span class="lineno">  538</span>&#160;        }</div>
<div class="line"><a name="l00539"></a><span class="lineno">  539</span>&#160;    } except(EXCEPTION_EXECUTE_HANDLER) {</div>
<div class="line"><a name="l00540"></a><span class="lineno">  540</span>&#160;        <a class="code" href="a00086.html#a8b2e79f5b5173a6fbfeb65e2195720c3">SetLastDDEMLError</a>(*ppcii, DMLERR_INVALIDPARAMETER);</div>
<div class="line"><a name="l00541"></a><span class="lineno">  541</span>&#160;        fError = TRUE;</div>
<div class="line"><a name="l00542"></a><span class="lineno">  542</span>&#160;    }</div>
<div class="line"><a name="l00543"></a><span class="lineno">  543</span>&#160;    <span class="keywordflow">if</span> (fError) {</div>
<div class="line"><a name="l00544"></a><span class="lineno">  544</span>&#160;        <span class="keywordflow">return</span>(FALSE);</div>
<div class="line"><a name="l00545"></a><span class="lineno">  545</span>&#160;    }</div>
<div class="line"><a name="l00546"></a><span class="lineno">  546</span>&#160;    <span class="keywordflow">if</span> (hConvList != 0 &amp;&amp;</div>
<div class="line"><a name="l00547"></a><span class="lineno">  547</span>&#160;            !<a class="code" href="a00086.html#ad5b8ef18960b493b8123fdce517dc30f">ValidateCHandle</a>((HANDLE)hConvList, <a class="code" href="a00086.html#a34528446d56187d633881a314c3c6c20">HTYPE_CONVERSATION_LIST</a>,</div>
<div class="line"><a name="l00548"></a><span class="lineno">  548</span>&#160;            (<a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>)<a class="code" href="a00086.html#a6a2176afcdf096eb6add39fa9d673f80">InstFromHandle</a>((*ppcii)-&gt;hInstClient))) {</div>
<div class="line"><a name="l00549"></a><span class="lineno">  549</span>&#160;        <span class="keywordflow">return</span> (FALSE);</div>
<div class="line"><a name="l00550"></a><span class="lineno">  550</span>&#160;    }</div>
<div class="line"><a name="l00551"></a><span class="lineno">  551</span>&#160;    <span class="keywordflow">return</span> (TRUE);</div>
<div class="line"><a name="l00552"></a><span class="lineno">  552</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00062_source.html#l00105">DefConvContext</a>, <a class="el" href="a00563_source.html#l00175">DWORD</a>, <a class="el" href="a00086_source.html#l00059">HSZT_INST_SPECIFIC</a>, <a class="el" href="a00086_source.html#l00057">HSZT_INVALID</a>, <a class="el" href="a00086_source.html#l00098">HTYPE_CONVERSATION_LIST</a>, <a class="el" href="a00086_source.html#l00198">IIF_UNICODE</a>, <a class="el" href="a00086_source.html#l00087">InstFromHandle</a>, <a class="el" href="a00086_source.html#l00061">LATOM_FROM_HSZ</a>, <a class="el" href="a00086_source.html#l00062">NORMAL_HSZ_FROM_LATOM</a>, <a class="el" href="a00164_source.html#l00398">ParseInstSpecificAtom()</a>, <a class="el" href="a00170_source.html#l00137">SetLastDDEMLError()</a>, <a class="el" href="a00062_source.html#l00104">TempConvContext</a>, <a class="el" href="a00155_source.html#l00204">ValidateCHandle()</a>, <a class="el" href="a00164_source.html#l00340">ValidateHSZ()</a> , 以及 <a class="el" href="a00170_source.html#l00111">ValidateInstance()</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00062_source.html#l00144">DdeConnect()</a> , 以及 <a class="el" href="a00062_source.html#l00193">DdeConnectList()</a>.</p>

</div>
</div>
<a id="a4f157f2b74fc2425df35faf70c483364"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4f157f2b74fc2425df35faf70c483364">&#9670;&nbsp;</a></span>WaitForZombieTerminate()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">BOOL WaitForZombieTerminate </td>
          <td>(</td>
          <td class="paramtype">HANDLE&#160;</td>
          <td class="paramname"><em>hData</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00062_source.html">connect.c</a> 第 <a class="el" href="a00062_source.html#l01463">1463</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l01465"></a><span class="lineno"> 1465</span>&#160;{</div>
<div class="line"><a name="l01466"></a><span class="lineno"> 1466</span>&#160;    <a class="code" href="a01845.html">PCONV_INFO</a> pcoi;</div>
<div class="line"><a name="l01467"></a><span class="lineno"> 1467</span>&#160;    MSG msg;</div>
<div class="line"><a name="l01468"></a><span class="lineno"> 1468</span>&#160;    HWND hwnd;</div>
<div class="line"><a name="l01469"></a><span class="lineno"> 1469</span>&#160;    BOOL fTerminated;</div>
<div class="line"><a name="l01470"></a><span class="lineno"> 1470</span>&#160;    <a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a> fRet = 0;</div>
<div class="line"><a name="l01471"></a><span class="lineno"> 1471</span>&#160; </div>
<div class="line"><a name="l01472"></a><span class="lineno"> 1472</span>&#160;    <a class="code" href="a00086.html#af4a5ecbacfdd6845c5c37342f333ace4">CheckDDECritOut</a>;</div>
<div class="line"><a name="l01473"></a><span class="lineno"> 1473</span>&#160;    <a class="code" href="a00086.html#a8c66aaa58bd4b338d4f04ae07d4fb23a">EnterDDECrit</a>;</div>
<div class="line"><a name="l01474"></a><span class="lineno"> 1474</span>&#160; </div>
<div class="line"><a name="l01475"></a><span class="lineno"> 1475</span>&#160;    fTerminated = FALSE;</div>
<div class="line"><a name="l01476"></a><span class="lineno"> 1476</span>&#160;    <span class="keywordflow">while</span> ((pcoi = (<a class="code" href="a01845.html">PCONV_INFO</a>)<a class="code" href="a00086.html#ad5b8ef18960b493b8123fdce517dc30f">ValidateCHandle</a>(hData,</div>
<div class="line"><a name="l01477"></a><span class="lineno"> 1477</span>&#160;            <a class="code" href="a00086.html#a0660b85f18aadfcf2c8dead0124a746a">HTYPE_ZOMBIE_CONVERSATION</a>, <a class="code" href="a00086.html#a6a2176afcdf096eb6add39fa9d673f80">InstFromHandle</a>(hData))) != NULL &amp;&amp;</div>
<div class="line"><a name="l01478"></a><span class="lineno"> 1478</span>&#160;            !(pcoi-&gt;<a class="code" href="a01845.html#a5d717a64978f34c9afb8ae23374160a0">state</a> &amp; ST_TERMINATE_RECEIVED)) {</div>
<div class="line"><a name="l01479"></a><span class="lineno"> 1479</span>&#160;        hwnd = pcoi-&gt;<a class="code" href="a01845.html#aba9f8f0b5693cc2b4e3e1399bb9db05f">hwndConv</a>;</div>
<div class="line"><a name="l01480"></a><span class="lineno"> 1480</span>&#160;        <a class="code" href="a00086.html#a3b5310e2dd6b3c42cb13fa51a1b4e254">LeaveDDECrit</a>;</div>
<div class="line"><a name="l01481"></a><span class="lineno"> 1481</span>&#160;        <span class="keywordflow">while</span> (PeekMessage(&amp;msg, hwnd, WM_DDE_FIRST, WM_DDE_LAST, PM_REMOVE)) {</div>
<div class="line"><a name="l01482"></a><span class="lineno"> 1482</span>&#160;            DispatchMessage(&amp;msg);</div>
<div class="line"><a name="l01483"></a><span class="lineno"> 1483</span>&#160;            <span class="keywordflow">if</span> (msg.message == WM_DDE_TERMINATE) {</div>
<div class="line"><a name="l01484"></a><span class="lineno"> 1484</span>&#160;                fTerminated = TRUE;</div>
<div class="line"><a name="l01485"></a><span class="lineno"> 1485</span>&#160;            }</div>
<div class="line"><a name="l01486"></a><span class="lineno"> 1486</span>&#160;        }</div>
<div class="line"><a name="l01487"></a><span class="lineno"> 1487</span>&#160;        <span class="keywordflow">if</span> (!fTerminated) {</div>
<div class="line"><a name="l01488"></a><span class="lineno"> 1488</span>&#160;            fRet = <a class="code" href="a00026.html#a36cf1c3bd6b43137f1fe76c1e0c0ed71">MsgWaitForMultipleObjectsEx</a>(0, NULL, 100, QS_POSTMESSAGE, 0);</div>
<div class="line"><a name="l01489"></a><span class="lineno"> 1489</span>&#160;            <span class="keywordflow">if</span> (fRet == 0xFFFFFFFF) {</div>
<div class="line"><a name="l01490"></a><span class="lineno"> 1490</span>&#160;                <a class="code" href="a00371.html#a01c4659626880ba56745765a3580a36b">RIPMSG0</a>(<a class="code" href="a00371.html#a41f433389f20db57f042022a662e96de">RIP_WARNING</a>, <span class="stringliteral">&quot;WaitForZombieTerminate: I give up - faking terminate.&quot;</span>);</div>
<div class="line"><a name="l01491"></a><span class="lineno"> 1491</span>&#160;                <a class="code" href="a00086.html#a168ce4c2f5e4dd1abff0f1e5a5604e0b">ProcessTerminateMsg</a>(pcoi, pcoi-&gt;<a class="code" href="a01845.html#ab633a373034405937a22e9d2c0cbf4ad">hwndPartner</a>);</div>
<div class="line"><a name="l01492"></a><span class="lineno"> 1492</span>&#160;                <a class="code" href="a00086.html#a8c66aaa58bd4b338d4f04ae07d4fb23a">EnterDDECrit</a>;</div>
<div class="line"><a name="l01493"></a><span class="lineno"> 1493</span>&#160;                <span class="keywordflow">return</span>(FALSE);</div>
<div class="line"><a name="l01494"></a><span class="lineno"> 1494</span>&#160;            }</div>
<div class="line"><a name="l01495"></a><span class="lineno"> 1495</span>&#160;        }</div>
<div class="line"><a name="l01496"></a><span class="lineno"> 1496</span>&#160;        <a class="code" href="a00086.html#a8c66aaa58bd4b338d4f04ae07d4fb23a">EnterDDECrit</a>;</div>
<div class="line"><a name="l01497"></a><span class="lineno"> 1497</span>&#160;    }</div>
<div class="line"><a name="l01498"></a><span class="lineno"> 1498</span>&#160;    <a class="code" href="a00086.html#a3b5310e2dd6b3c42cb13fa51a1b4e254">LeaveDDECrit</a>;</div>
<div class="line"><a name="l01499"></a><span class="lineno"> 1499</span>&#160;    <span class="keywordflow">return</span>(TRUE);</div>
<div class="line"><a name="l01500"></a><span class="lineno"> 1500</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00086_source.html#l00051">CheckDDECritOut</a>, <a class="el" href="a00563_source.html#l00175">DWORD</a>, <a class="el" href="a00086_source.html#l00040">EnterDDECrit</a>, <a class="el" href="a00086_source.html#l00101">HTYPE_ZOMBIE_CONVERSATION</a>, <a class="el" href="a00086_source.html#l00210">tagCONV_INFO::hwndConv</a>, <a class="el" href="a00086_source.html#l00209">tagCONV_INFO::hwndPartner</a>, <a class="el" href="a00086_source.html#l00087">InstFromHandle</a>, <a class="el" href="a00086_source.html#l00041">LeaveDDECrit</a>, <a class="el" href="a00026_source.html#l01375">MsgWaitForMultipleObjectsEx()</a>, <a class="el" href="a00089_source.html#l00541">ProcessTerminateMsg()</a>, <a class="el" href="a00371_source.html#l00029">RIP_WARNING</a>, <a class="el" href="a00371_source.html#l00131">RIPMSG0</a>, <a class="el" href="a00086_source.html#l00211">tagCONV_INFO::state</a> , 以及 <a class="el" href="a00155_source.html#l00204">ValidateCHandle()</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00083_source.html#l00192">DdeUninitialize()</a>.</p>

</div>
</div>
<h2 class="groupheader">变量说明</h2>
<a id="addc35586476828be0ae63df36451855f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#addc35586476828be0ae63df36451855f">&#9670;&nbsp;</a></span>DefConvContext</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CONVCONTEXT DefConvContext</td>
        </tr>
      </table>
</div><div class="memdoc">
<b>初始值:</b><div class="fragment"><div class="line">= {</div>
<div class="line">    <span class="keyword">sizeof</span>(CONVCONTEXT),</div>
<div class="line">    0,</div>
<div class="line">    0,</div>
<div class="line">    CP_WINANSI,</div>
<div class="line">    0L,</div>
<div class="line">    0L,</div>
<div class="line">    {</div>
<div class="line">        <span class="keyword">sizeof</span>(SECURITY_QUALITY_OF_SERVICE),</div>
<div class="line">        SecurityImpersonation,</div>
<div class="line">        SECURITY_STATIC_TRACKING,</div>
<div class="line">        TRUE</div>
<div class="line">    }</div>
<div class="line">}</div>
</div><!-- fragment -->
<p class="definition">在文件 <a class="el" href="a00062_source.html">connect.c</a> 第 <a class="el" href="a00062_source.html#l00105">105</a> 行定义.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00272_source.html#l00409">DdeQueryConvInfo()</a> , 以及 <a class="el" href="a00062_source.html#l00489">ValidateConnectParameters()</a>.</p>

</div>
</div>
<a id="a8aed2ad56557545e2f1dec7d3d942f2e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8aed2ad56557545e2f1dec7d3d942f2e">&#9670;&nbsp;</a></span>TempConvContext</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CONVCONTEXT TempConvContext</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00062_source.html">connect.c</a> 第 <a class="el" href="a00062_source.html#l00104">104</a> 行定义.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00062_source.html#l00489">ValidateConnectParameters()</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<div class="ttc" id="aa01825_html_a491330cc2632c738dbfac1d6393eedb6"><div class="ttname"><a href="a01825.html#a491330cc2632c738dbfac1d6393eedb6">tagADVISE_LINK::laItem</a></div><div class="ttdeci">LATOM laItem</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00139">ddemlcli.h:139</a></div></div>
<div class="ttc" id="aa00062_html_a8aed2ad56557545e2f1dec7d3d942f2e"><div class="ttname"><a href="a00062.html#a8aed2ad56557545e2f1dec7d3d942f2e">TempConvContext</a></div><div class="ttdeci">CONVCONTEXT TempConvContext</div><div class="ttdef"><b>Definition:</b> <a href="a00062_source.html#l00104">connect.c:104</a></div></div>
<div class="ttc" id="aa01857_html_a4790abb1d49e1e3ec035ae70eef5cf2f"><div class="ttname"><a href="a01857.html#a4790abb1d49e1e3ec035ae70eef5cf2f">tagCONVLIST::chwnd</a></div><div class="ttdeci">int chwnd</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00233">ddemlcli.h:233</a></div></div>
<div class="ttc" id="aa00062_html_a38e37b3579fd0f62bdd704ec10cd472f"><div class="ttname"><a href="a00062.html#a38e37b3579fd0f62bdd704ec10cd472f">ShutdownConversation</a></div><div class="ttdeci">VOID ShutdownConversation(PCONV_INFO pcoi, BOOL fMakeCallback)</div><div class="ttdef"><b>Definition:</b> <a href="a00062_source.html#l01107">connect.c:1107</a></div></div>
<div class="ttc" id="aa00371_html_a01c4659626880ba56745765a3580a36b"><div class="ttname"><a href="a00371.html#a01c4659626880ba56745765a3580a36b">RIPMSG0</a></div><div class="ttdeci">#define RIPMSG0(flags, szFmt)</div><div class="ttdef"><b>Definition:</b> <a href="a00371_source.html#l00131">winerrp.h:131</a></div></div>
<div class="ttc" id="aa00086_html_a9f92b4400059a7c08adc8bafc2925fc2"><div class="ttname"><a href="a00086.html#a9f92b4400059a7c08adc8bafc2925fc2">TypeFromHandle</a></div><div class="ttdeci">#define TypeFromHandle(h)</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00086">ddemlcli.h:86</a></div></div>
<div class="ttc" id="aa01821_html_a3e72a0d3f2894bdf7fea52a56128e0e5"><div class="ttname"><a href="a01821.html#a3e72a0d3f2894bdf7fea52a56128e0e5">tagXACT_INFO::pfnResponse</a></div><div class="ttdeci">FNRESPONSE pfnResponse</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00117">ddemlcli.h:117</a></div></div>
<div class="ttc" id="aa01841_html_a9735d28a0381236e8c20f45a431efd55"><div class="ttname"><a href="a01841.html#a9735d28a0381236e8c20f45a431efd55">tagCL_INSTANCE_INFO::afCmd</a></div><div class="ttdeci">DWORD afCmd</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00183">ddemlcli.h:183</a></div></div>
<div class="ttc" id="aa00086_html_a54b9aff41b792d1f4c3e4c0db4fa9d5c"><div class="ttname"><a href="a00086.html#a54b9aff41b792d1f4c3e4c0db4fa9d5c">DumpDDEMessage</a></div><div class="ttdeci">VOID DumpDDEMessage(BOOL fFreeData, UINT msg, LONG lParam)</div><div class="ttdef"><b>Definition:</b> <a href="a00089_source.html#l00712">ddemlwp.c:712</a></div></div>
<div class="ttc" id="aa01821_html"><div class="ttname"><a href="a01821.html">tagXACT_INFO</a></div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00112">ddemlcli.h:112</a></div></div>
<div class="ttc" id="aa00086_html_a39e256548fb3bd87386af9d7d0764382"><div class="ttname"><a href="a00086.html#a39e256548fb3bd87386af9d7d0764382">SetHandleData</a></div><div class="ttdeci">VOID SetHandleData(HANDLE h, DWORD dwData)</div><div class="ttdef"><b>Definition:</b> <a href="a00155_source.html#l00185">handles.c:185</a></div></div>
<div class="ttc" id="aa00086_html_a908a74e7a82f658e6725be8a2891f24e"><div class="ttname"><a href="a00086.html#a908a74e7a82f658e6725be8a2891f24e">PXACT_INFO</a></div><div class="ttdeci">struct tagXACT_INFO * PXACT_INFO</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00108">ddemlcli.h:108</a></div></div>
<div class="ttc" id="aa00062_html_a28bd8df0f53bb221fb21ec9650866ee8"><div class="ttname"><a href="a00062.html#a28bd8df0f53bb221fb21ec9650866ee8">FreeConversationResources</a></div><div class="ttdeci">VOID FreeConversationResources(PCONV_INFO pcoi)</div><div class="ttdef"><b>Definition:</b> <a href="a00062_source.html#l01343">connect.c:1343</a></div></div>
<div class="ttc" id="aa00362_html_a0aa1711ac96764929b5aec3aadb7af2f"><div class="ttname"><a href="a00362.html#a0aa1711ac96764929b5aec3aadb7af2f">NtUserDestroyWindow</a></div><div class="ttdeci">BOOL NtUserDestroyWindow(IN HWND hwnd)</div><div class="ttdef"><b>Definition:</b> <a href="a03614_source.html#l02870">kernel/ntstubs.c:2870</a></div></div>
<div class="ttc" id="aa01821_html_aa5250ff1f63a5d1730bc299c7a96b6af"><div class="ttname"><a href="a01821.html#aa5250ff1f63a5d1730bc299c7a96b6af">tagXACT_INFO::flags</a></div><div class="ttdeci">WORD flags</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00122">ddemlcli.h:122</a></div></div>
<div class="ttc" id="aa01845_html_ac54e3b685e73c03228d890f651895a84"><div class="ttname"><a href="a01845.html#ac54e3b685e73c03228d890f651895a84">tagCONV_INFO::pcii</a></div><div class="ttdeci">PCL_INSTANCE_INFO pcii</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00204">ddemlcli.h:204</a></div></div>
<div class="ttc" id="aa00086_html_aa00e93da35592eb7500e7beb65887fda"><div class="ttname"><a href="a00086.html#aa00e93da35592eb7500e7beb65887fda">TID_TIMEOUT</a></div><div class="ttdeci">#define TID_TIMEOUT</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00132">ddemlcli.h:132</a></div></div>
<div class="ttc" id="aa01845_html_a6f9fff70be46542c217424f5f415821a"><div class="ttname"><a href="a01845.html#a6f9fff70be46542c217424f5f415821a">tagCONV_INFO::next</a></div><div class="ttdeci">struct tagCONV_INFO * next</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00203">ddemlcli.h:203</a></div></div>
<div class="ttc" id="aa01841_html_a6a33ca20f90febbc42166c4466d979c2"><div class="ttname"><a href="a01841.html#a6a33ca20f90febbc42166c4466d979c2">tagCL_INSTANCE_INFO::hInstClient</a></div><div class="ttdeci">HANDLE hInstClient</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00178">ddemlcli.h:178</a></div></div>
<div class="ttc" id="aa00017_html_ac78a31efa521e4b8dd58c46c81ff07da"><div class="ttname"><a href="a00017.html#ac78a31efa521e4b8dd58c46c81ff07da">EnumWindows</a></div><div class="ttdeci">BOOL WINAPI EnumWindows(WNDENUMPROC lpfn, LONG lParam)</div><div class="ttdef"><b>Definition:</b> <a href="a00017_source.html#l00035">clenum.c:35</a></div></div>
<div class="ttc" id="aa00008_html_a23a4646063ef5f4cdcf6d3840b705fc2"><div class="ttname"><a href="a00008.html#a23a4646063ef5f4cdcf6d3840b705fc2">DoCallback</a></div><div class="ttdeci">HDDEDATA DoCallback(PCL_INSTANCE_INFO pcii, WORD wType, WORD wFmt, HCONV hConv, HSZ hsz1, HSZ hsz2, HDDEDATA hData, DWORD dw1, DWORD dw2)</div><div class="ttdef"><b>Definition:</b> <a href="a00008_source.html#l00022">callback.c:22</a></div></div>
<div class="ttc" id="aa00086_html_ab3c1d0a3add62ab08ba61e005908c04a"><div class="ttname"><a href="a00086.html#ab3c1d0a3add62ab08ba61e005908c04a">HSZT_INST_SPECIFIC</a></div><div class="ttdeci">#define HSZT_INST_SPECIFIC</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00059">ddemlcli.h:59</a></div></div>
<div class="ttc" id="aa00086_html_aa23a5781d2648130b7fe700b25e3b157"><div class="ttname"><a href="a00086.html#aa23a5781d2648130b7fe700b25e3b157">GetConvContext</a></div><div class="ttdeci">VOID GetConvContext(HWND hwnd, LONG *pl)</div><div class="ttdef"><b>Definition:</b> <a href="a00272_source.html#l00366">xact.c:366</a></div></div>
<div class="ttc" id="aa01829_html_aea6dbba0f7eb12aee294a96f0ed5b1b6"><div class="ttname"><a href="a01829.html#aea6dbba0f7eb12aee294a96f0ed5b1b6">tagDDE_MESSAGE_QUEUE::lParam</a></div><div class="ttdeci">LONG lParam</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00154">ddemlcli.h:154</a></div></div>
<div class="ttc" id="aa00062_html_a205c36f2db983e08bc2c9690c6a1b269"><div class="ttname"><a href="a00062.html#a205c36f2db983e08bc2c9690c6a1b269">DisconnectConv</a></div><div class="ttdeci">VOID DisconnectConv(PCONV_INFO pcoi)</div><div class="ttdef"><b>Definition:</b> <a href="a00062_source.html#l00757">connect.c:757</a></div></div>
<div class="ttc" id="aa00086_html_a6a2176afcdf096eb6add39fa9d673f80"><div class="ttname"><a href="a00086.html#a6a2176afcdf096eb6add39fa9d673f80">InstFromHandle</a></div><div class="ttdeci">#define InstFromHandle(h)</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00087">ddemlcli.h:87</a></div></div>
<div class="ttc" id="aa00062_html_a6989104e037ecc4ac73d9973485bab1f"><div class="ttname"><a href="a00062.html#a6989104e037ecc4ac73d9973485bab1f">ValidateConvList</a></div><div class="ttdeci">#define ValidateConvList(h)</div><div class="ttdef"><b>Definition:</b> <a href="a00062_source.html#l00100">connect.c:100</a></div></div>
<div class="ttc" id="aa01841_html_aa5250ff1f63a5d1730bc299c7a96b6af"><div class="ttname"><a href="a01841.html#aa5250ff1f63a5d1730bc299c7a96b6af">tagCL_INSTANCE_INFO::flags</a></div><div class="ttdeci">WORD flags</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00192">ddemlcli.h:192</a></div></div>
<div class="ttc" id="aa00086_html_a09d781db504a8acf1cc60ed2f195ff29"><div class="ttname"><a href="a00086.html#a09d781db504a8acf1cc60ed2f195ff29">ParseInstSpecificAtom</a></div><div class="ttdeci">HWND ParseInstSpecificAtom(LATOM la, LATOM *plaNormal)</div><div class="ttdef"><b>Definition:</b> <a href="a00164_source.html#l00398">hsz.c:398</a></div></div>
<div class="ttc" id="aa01849_html_a18a38472c38612dfaa3a8d5bb1361008"><div class="ttname"><a href="a01849.html#a18a38472c38612dfaa3a8d5bb1361008">tagCL_CONV_INFO::hConvList</a></div><div class="ttdeci">HCONVLIST hConvList</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00225">ddemlcli.h:225</a></div></div>
<div class="ttc" id="aa00263_html_a1dc37c01a43d34053e1dbf4ee8e0da0a"><div class="ttname"><a href="a00263.html#a1dc37c01a43d34053e1dbf4ee8e0da0a">GetWindowThreadProcessId</a></div><div class="ttdeci">DWORD GetWindowThreadProcessId(HWND hwnd, LPDWORD lpdwProcessId)</div><div class="ttdef"><b>Definition:</b> <a href="a00263_source.html#l00211">winmgrc.c:211</a></div></div>
<div class="ttc" id="aa00086_html_a32944b1cda443505f70b8e2f9f1495e6"><div class="ttname"><a href="a00086.html#a32944b1cda443505f70b8e2f9f1495e6">HTYPE_SERVER_CONVERSATION</a></div><div class="ttdeci">#define HTYPE_SERVER_CONVERSATION</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00096">ddemlcli.h:96</a></div></div>
<div class="ttc" id="aa01849_html"><div class="ttname"><a href="a01849.html">tagCL_CONV_INFO</a></div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00222">ddemlcli.h:222</a></div></div>
<div class="ttc" id="aa00086_html_ac64721bd6049de0997fb056a93022b8e"><div class="ttname"><a href="a00086.html#ac64721bd6049de0997fb056a93022b8e">CheckDDECritIn</a></div><div class="ttdeci">#define CheckDDECritIn</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00050">ddemlcli.h:50</a></div></div>
<div class="ttc" id="aa01845_html_abb1c8670b152a59cef661dba09b0d09a"><div class="ttname"><a href="a01845.html#abb1c8670b152a59cef661dba09b0d09a">tagCONV_INFO::cLinks</a></div><div class="ttdeci">int cLinks</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00218">ddemlcli.h:218</a></div></div>
<div class="ttc" id="aa00086_html_acc904eaf46cb98fa7741658d8e00f06c"><div class="ttname"><a href="a00086.html#acc904eaf46cb98fa7741658d8e00f06c">DDEMLAlloc</a></div><div class="ttdeci">#define DDEMLAlloc(cb)</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00012">ddemlcli.h:12</a></div></div>
<div class="ttc" id="aa03743_html_ac5ede70e870dc1cf540d7524887e4edc"><div class="ttname"><a href="a03743.html#ac5ede70e870dc1cf540d7524887e4edc">IsWindow</a></div><div class="ttdeci">BOOL IsWindow(HWND hwnd)</div><div class="ttdef"><b>Definition:</b> <a href="a03743_source.html#l00421">client/wow.c:421</a></div></div>
<div class="ttc" id="aa00263_html_a972f6ec0203e2154840d144eba104076"><div class="ttname"><a href="a00263.html#a972f6ec0203e2154840d144eba104076">IsWindowUnicode</a></div><div class="ttdeci">BOOL IsWindowUnicode(IN HWND hwnd)</div><div class="ttdef"><b>Definition:</b> <a href="a00263_source.html#l00471">winmgrc.c:471</a></div></div>
<div class="ttc" id="aa00371_html_a162a73e20dfabca084a3ebb4581631a8"><div class="ttname"><a href="a00371.html#a162a73e20dfabca084a3ebb4581631a8">UserAssert</a></div><div class="ttdeci">#define UserAssert(exp)</div><div class="ttdef"><b>Definition:</b> <a href="a00950_source.html#l00117">usersrv.h:117</a></div></div>
<div class="ttc" id="aa01845_html_ae2f75489761175d860578ce7ebf48913"><div class="ttname"><a href="a01845.html#ae2f75489761175d860578ce7ebf48913">tagCONV_INFO::pxiOut</a></div><div class="ttdeci">PXACT_INFO pxiOut</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00214">ddemlcli.h:214</a></div></div>
<div class="ttc" id="aa00062_html_a4f08398a693326d9465a9c9d3be108ff"><div class="ttname"><a href="a00062.html#a4f08398a693326d9465a9c9d3be108ff">UnlinkConvFromOthers</a></div><div class="ttdeci">VOID UnlinkConvFromOthers(PCONV_INFO pcoi, BOOL gGoingZombie)</div><div class="ttdef"><b>Definition:</b> <a href="a00062_source.html#l01151">connect.c:1151</a></div></div>
<div class="ttc" id="aa01845_html_aebd902014126dae5595b53fbbce3dc5a"><div class="ttname"><a href="a01845.html#aebd902014126dae5595b53fbbce3dc5a">tagCONV_INFO::dmqIn</a></div><div class="ttdeci">PDDE_MESSAGE_QUEUE dmqIn</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00215">ddemlcli.h:215</a></div></div>
<div class="ttc" id="aa00371_html_afa5f32de88404289ec03cd2c0e61e94f"><div class="ttname"><a href="a00371.html#afa5f32de88404289ec03cd2c0e61e94f">RIP_ERROR</a></div><div class="ttdeci">#define RIP_ERROR</div><div class="ttdef"><b>Definition:</b> <a href="a00371_source.html#l00028">winerrp.h:28</a></div></div>
<div class="ttc" id="aa00371_html_a31aafffb49dfe98bdc749c9b35c90162"><div class="ttname"><a href="a00371.html#a31aafffb49dfe98bdc749c9b35c90162">RIPMSG1</a></div><div class="ttdeci">#define RIPMSG1(flags, szFmt, p1)</div><div class="ttdef"><b>Definition:</b> <a href="a00371_source.html#l00132">winerrp.h:132</a></div></div>
<div class="ttc" id="aa00086_html_a79511ee28e1a1b4843ee182f03a7f975"><div class="ttname"><a href="a00086.html#a79511ee28e1a1b4843ee182f03a7f975">ValidateInstance</a></div><div class="ttdeci">PCL_INSTANCE_INFO ValidateInstance(HANDLE hInst)</div><div class="ttdef"><b>Definition:</b> <a href="a00170_source.html#l00111">instance.c:111</a></div></div>
<div class="ttc" id="aa00356_html_a3f53b9d5a549a62853c4e3fb22b649d7"><div class="ttname"><a href="a00356.html#a3f53b9d5a549a62853c4e3fb22b649d7">PostMessage</a></div><div class="ttdeci">BOOL APIENTRY PostMessage(HWND hwnd, UINT wMsg, WPARAM wParam, LPARAM lParam)</div><div class="ttdef"><b>Definition:</b> <a href="a00356_source.html#l00471">ntcftxt.h:471</a></div></div>
<div class="ttc" id="aa00086_html_a0f4016e3ebbfb4b5abedc02b893f9df5"><div class="ttname"><a href="a00086.html#a0f4016e3ebbfb4b5abedc02b893f9df5">IIF_UNICODE</a></div><div class="ttdeci">#define IIF_UNICODE</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00198">ddemlcli.h:198</a></div></div>
<div class="ttc" id="aa01809_html_abd77cb02de507336c352adb9e45f0786"><div class="ttname"><a href="a01809.html#abd77cb02de507336c352adb9e45f0786">tagINIT_ENUM::hwndSkip</a></div><div class="ttdeci">HWND hwndSkip</div><div class="ttdef"><b>Definition:</b> <a href="a00062_source.html#l00122">connect.c:122</a></div></div>
<div class="ttc" id="aa00086_html_a14b7b2abd485b184293dcd3d34c29e23"><div class="ttname"><a href="a00086.html#a14b7b2abd485b184293dcd3d34c29e23">DDEMLFree</a></div><div class="ttdeci">#define DDEMLFree(p)</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00014">ddemlcli.h:14</a></div></div>
<div class="ttc" id="aa01829_html"><div class="ttname"><a href="a01829.html">tagDDE_MESSAGE_QUEUE</a></div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00150">ddemlcli.h:150</a></div></div>
<div class="ttc" id="aa00086_html_a8b2e79f5b5173a6fbfeb65e2195720c3"><div class="ttname"><a href="a00086.html#a8b2e79f5b5173a6fbfeb65e2195720c3">SetLastDDEMLError</a></div><div class="ttdeci">VOID SetLastDDEMLError(PCL_INSTANCE_INFO pcii, DWORD error)</div><div class="ttdef"><b>Definition:</b> <a href="a00170_source.html#l00137">instance.c:137</a></div></div>
<div class="ttc" id="aa01809_html_a037642095df06ec39ad1a904cc1f7c30"><div class="ttname"><a href="a01809.html#a037642095df06ec39ad1a904cc1f7c30">tagINIT_ENUM::laTopic</a></div><div class="ttdeci">LATOM laTopic</div><div class="ttdef"><b>Definition:</b> <a href="a00062_source.html#l00125">connect.c:125</a></div></div>
<div class="ttc" id="aa00086_html_a6e32f41e048da966b06caf60267b5580"><div class="ttname"><a href="a00086.html#a6e32f41e048da966b06caf60267b5580">PCONVLIST</a></div><div class="ttdeci">struct tagCONVLIST * PCONVLIST</div></div>
<div class="ttc" id="aa01845_html"><div class="ttname"><a href="a01845.html">tagCONV_INFO</a></div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00202">ddemlcli.h:202</a></div></div>
<div class="ttc" id="aa00086_html_a94c133ba2c05e4193dd481f6ac11b2ed"><div class="ttname"><a href="a00086.html#a94c133ba2c05e4193dd481f6ac11b2ed">GATOM</a></div><div class="ttdeci">ATOM GATOM</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00019">ddemlcli.h:19</a></div></div>
<div class="ttc" id="aa00086_html_af44bf1d07cfc3fd9da468e05c1028be6"><div class="ttname"><a href="a00086.html#af44bf1d07cfc3fd9da468e05c1028be6">ClStartAdvise</a></div><div class="ttdeci">BOOL ClStartAdvise(PXACT_INFO pxi)</div><div class="ttdef"><b>Definition:</b> <a href="a00251_source.html#l00065">stdptcl.c:65</a></div></div>
<div class="ttc" id="aa01809_html_a18a38472c38612dfaa3a8d5bb1361008"><div class="ttname"><a href="a01809.html#a18a38472c38612dfaa3a8d5bb1361008">tagINIT_ENUM::hConvList</a></div><div class="ttdeci">HCONVLIST hConvList</div><div class="ttdef"><b>Definition:</b> <a href="a00062_source.html#l00126">connect.c:126</a></div></div>
<div class="ttc" id="aa01809_html"><div class="ttname"><a href="a01809.html">tagINIT_ENUM</a></div><div class="ttdef"><b>Definition:</b> <a href="a00062_source.html#l00120">connect.c:120</a></div></div>
<div class="ttc" id="aa01841_html_a95c5ea2fe9e74aa8b772f13287b0ecda"><div class="ttname"><a href="a01841.html#a95c5ea2fe9e74aa8b772f13287b0ecda">tagCL_INSTANCE_INFO::hwndMother</a></div><div class="ttdeci">HWND hwndMother</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00180">ddemlcli.h:180</a></div></div>
<div class="ttc" id="aa00062_html_addc35586476828be0ae63df36451855f"><div class="ttname"><a href="a00062.html#addc35586476828be0ae63df36451855f">DefConvContext</a></div><div class="ttdeci">CONVCONTEXT DefConvContext</div><div class="ttdef"><b>Definition:</b> <a href="a00062_source.html#l00105">connect.c:105</a></div></div>
<div class="ttc" id="aa01845_html_aba9f8f0b5693cc2b4e3e1399bb9db05f"><div class="ttname"><a href="a01845.html#aba9f8f0b5693cc2b4e3e1399bb9db05f">tagCONV_INFO::hwndConv</a></div><div class="ttdeci">HWND hwndConv</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00210">ddemlcli.h:210</a></div></div>
<div class="ttc" id="aa01825_html"><div class="ttname"><a href="a01825.html">tagADVISE_LINK</a></div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00137">ddemlcli.h:137</a></div></div>
<div class="ttc" id="aa01809_html_aea6dbba0f7eb12aee294a96f0ed5b1b6"><div class="ttname"><a href="a01809.html#aea6dbba0f7eb12aee294a96f0ed5b1b6">tagINIT_ENUM::lParam</a></div><div class="ttdeci">LONG lParam</div><div class="ttdef"><b>Definition:</b> <a href="a00062_source.html#l00123">connect.c:123</a></div></div>
<div class="ttc" id="aa00026_html_a36cf1c3bd6b43137f1fe76c1e0c0ed71"><div class="ttname"><a href="a00026.html#a36cf1c3bd6b43137f1fe76c1e0c0ed71">MsgWaitForMultipleObjectsEx</a></div><div class="ttdeci">DWORD WINAPI MsgWaitForMultipleObjectsEx(DWORD nCount, LPHANDLE pHandles, DWORD dwMilliseconds, DWORD dwWakeMask, DWORD dwFlags)</div><div class="ttdef"><b>Definition:</b> <a href="a00026_source.html#l01375">client.c:1375</a></div></div>
<div class="ttc" id="aa01849_html_a32c7595834535b04b8e88dd6ddb09d47"><div class="ttname"><a href="a01849.html#a32c7595834535b04b8e88dd6ddb09d47">tagCL_CONV_INFO::ci</a></div><div class="ttdeci">CONV_INFO ci</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00223">ddemlcli.h:223</a></div></div>
<div class="ttc" id="aa01809_html_a9a66c3e7ae56e5adf407e16f01a76676"><div class="ttname"><a href="a01809.html#a9a66c3e7ae56e5adf407e16f01a76676">tagINIT_ENUM::laServiceRequested</a></div><div class="ttdeci">LATOM laServiceRequested</div><div class="ttdef"><b>Definition:</b> <a href="a00062_source.html#l00124">connect.c:124</a></div></div>
<div class="ttc" id="aa00086_html_a8ec365b8e8550c587aadd14daeb84b2b"><div class="ttname"><a href="a00086.html#a8ec365b8e8550c587aadd14daeb84b2b">NORMAL_HSZ_FROM_LATOM</a></div><div class="ttdeci">#define NORMAL_HSZ_FROM_LATOM(a)</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00062">ddemlcli.h:62</a></div></div>
<div class="ttc" id="aa01825_html_ada696c68d610d9735c5f59302d2955ae"><div class="ttname"><a href="a01825.html#ada696c68d610d9735c5f59302d2955ae">tagADVISE_LINK::pLinkCount</a></div><div class="ttdeci">struct tagLINK_COUNT * pLinkCount</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00138">ddemlcli.h:138</a></div></div>
<div class="ttc" id="aa00086_html_afb884b9e2fb48a9b845acffcb306c059"><div class="ttname"><a href="a00086.html#afb884b9e2fb48a9b845acffcb306c059">LATOM</a></div><div class="ttdeci">ATOM LATOM</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00018">ddemlcli.h:18</a></div></div>
<div class="ttc" id="aa00563_html_a074685e97e89d6aa2accdfcb82328699"><div class="ttname"><a href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a></div><div class="ttdeci">ddeml v[i&lt; inst &gt;][t&lt; type &gt;][hObj|pObj] Dump DDEML state information ddeml lists all ddeml instances for this process n ddeml t&lt; type &gt; lists all ddeml objects of the given type n n assumes link is first DWORD</div><div class="ttdef"><b>Definition:</b> <a href="a00563_source.html#l00175">exts.h:175</a></div></div>
<div class="ttc" id="aa01841_html_a1ad66951311fd223bf92a5be3d20ba8f"><div class="ttname"><a href="a01841.html#a1ad66951311fd223bf92a5be3d20ba8f">tagCL_INSTANCE_INFO::hInstServer</a></div><div class="ttdeci">HANDLE hInstServer</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00177">ddemlcli.h:177</a></div></div>
<div class="ttc" id="aa01845_html_a78930c840c46ba4e53015f8b5c4de020"><div class="ttname"><a href="a01845.html#a78930c840c46ba4e53015f8b5c4de020">tagCONV_INFO::dmqOut</a></div><div class="ttdeci">PDDE_MESSAGE_QUEUE dmqOut</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00216">ddemlcli.h:216</a></div></div>
<div class="ttc" id="aa01841_html_aeedf4ff87347e042a697331c6ca6b469"><div class="ttname"><a href="a01841.html#aeedf4ff87347e042a697331c6ca6b469">tagCL_INSTANCE_INFO::MonitorFlags</a></div><div class="ttdeci">DWORD MonitorFlags</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00179">ddemlcli.h:179</a></div></div>
<div class="ttc" id="aa01845_html_a5d717a64978f34c9afb8ae23374160a0"><div class="ttname"><a href="a01845.html#a5d717a64978f34c9afb8ae23374160a0">tagCONV_INFO::state</a></div><div class="ttdeci">WORD state</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00211">ddemlcli.h:211</a></div></div>
<div class="ttc" id="aa00086_html_a4ef5faecf33ead428f95c9e93ef1ef4d"><div class="ttname"><a href="a00086.html#a4ef5faecf33ead428f95c9e93ef1ef4d">LATOM_FROM_HSZ</a></div><div class="ttdeci">#define LATOM_FROM_HSZ(hsz)</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00061">ddemlcli.h:61</a></div></div>
<div class="ttc" id="aa00086_html_a62263745665cb6423ab2f015a9b4b5be"><div class="ttname"><a href="a00086.html#a62263745665cb6423ab2f015a9b4b5be">PciiFromHandle</a></div><div class="ttdeci">PCL_INSTANCE_INFO PciiFromHandle(HANDLE h)</div><div class="ttdef"><b>Definition:</b> <a href="a00155_source.html#l00226">handles.c:226</a></div></div>
<div class="ttc" id="aa01809_html_a0984e4f735b587578cd1003d1e3deee7"><div class="ttname"><a href="a01809.html#a0984e4f735b587578cd1003d1e3deee7">tagINIT_ENUM::clst</a></div><div class="ttdeci">DWORD clst</div><div class="ttdef"><b>Definition:</b> <a href="a00062_source.html#l00127">connect.c:127</a></div></div>
<div class="ttc" id="aa00086_html_a1404f4537352b9accf0bad83b81d3097"><div class="ttname"><a href="a00086.html#a1404f4537352b9accf0bad83b81d3097">HINST_ANY</a></div><div class="ttdeci">#define HINST_ANY</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00104">ddemlcli.h:104</a></div></div>
<div class="ttc" id="aa00086_html_a5fdfc9c14ae2a16615114c2ad79bd609"><div class="ttname"><a href="a00086.html#a5fdfc9c14ae2a16615114c2ad79bd609">HSZT_INVALID</a></div><div class="ttdeci">#define HSZT_INVALID</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00057">ddemlcli.h:57</a></div></div>
<div class="ttc" id="aa00086_html_a168ce4c2f5e4dd1abff0f1e5a5604e0b"><div class="ttname"><a href="a00086.html#a168ce4c2f5e4dd1abff0f1e5a5604e0b">ProcessTerminateMsg</a></div><div class="ttdeci">PCONV_INFO ProcessTerminateMsg(PCONV_INFO pcoi, HWND hwndFrom)</div><div class="ttdef"><b>Definition:</b> <a href="a00089_source.html#l00541">ddemlwp.c:541</a></div></div>
<div class="ttc" id="aa00062_html_a4863a189f653fed31e8bf9837bdb0b47"><div class="ttname"><a href="a00062.html#a4863a189f653fed31e8bf9837bdb0b47">ORPATH</a></div><div class="ttdeci">#define ORPATH(x)</div></div>
<div class="ttc" id="aa01821_html_aedf49a5424d4d9ad2cf1817a726c165f"><div class="ttname"><a href="a01821.html#aedf49a5424d4d9ad2cf1817a726c165f">tagXACT_INFO::wType</a></div><div class="ttdeci">WORD wType</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00120">ddemlcli.h:120</a></div></div>
<div class="ttc" id="aa02513_html_acfbb1bdf492ec9f7a21f0094adbbe948"><div class="ttname"><a href="a02513.html#acfbb1bdf492ec9f7a21f0094adbbe948">tagSERVERINFO::atomSysClass</a></div><div class="ttdeci">ATOM atomSysClass[ICLS_MAX]</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l00998">user.h:998</a></div></div>
<div class="ttc" id="aa01857_html_a620348880fc95c088c58c878ff8ba55a"><div class="ttname"><a href="a01857.html#a620348880fc95c088c58c878ff8ba55a">tagCONVLIST::ahwnd</a></div><div class="ttdeci">HWND ahwnd[1]</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00234">ddemlcli.h:234</a></div></div>
<div class="ttc" id="aa00086_html_ab4b8799817dd461e619a02ba50744fca"><div class="ttname"><a href="a00086.html#ab4b8799817dd461e619a02ba50744fca">ValidateHSZ</a></div><div class="ttdeci">DWORD ValidateHSZ(HSZ hsz)</div><div class="ttdef"><b>Definition:</b> <a href="a00164_source.html#l00340">hsz.c:340</a></div></div>
<div class="ttc" id="aa00086_html_a34528446d56187d633881a314c3c6c20"><div class="ttname"><a href="a00086.html#a34528446d56187d633881a314c3c6c20">HTYPE_CONVERSATION_LIST</a></div><div class="ttdeci">#define HTYPE_CONVERSATION_LIST</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00098">ddemlcli.h:98</a></div></div>
<div class="ttc" id="aa01829_html_a43204af3a61671f6c669bf2539b7475f"><div class="ttname"><a href="a01829.html#a43204af3a61671f6c669bf2539b7475f">tagDDE_MESSAGE_QUEUE::msg</a></div><div class="ttdeci">UINT msg</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00153">ddemlcli.h:153</a></div></div>
<div class="ttc" id="aa00062_html_a40329f973a119a2a8109a08379b5e0c6"><div class="ttname"><a href="a00062.html#a40329f973a119a2a8109a08379b5e0c6">ValidateConnectParameters</a></div><div class="ttdeci">BOOL ValidateConnectParameters(HANDLE hInst, PCL_INSTANCE_INFO *ppcii, HSZ *phszService, HSZ hszTopic, LATOM *plaNormalSvcName, PCONVCONTEXT *ppCC, HWND *phwndTarget, HCONVLIST hConvList)</div><div class="ttdef"><b>Definition:</b> <a href="a00062_source.html#l00489">connect.c:489</a></div></div>
<div class="ttc" id="aa00062_html_acb7fd842bb474c0aa48bd43f3ebd9b94"><div class="ttname"><a href="a00062.html#acb7fd842bb474c0aa48bd43f3ebd9b94">ValidateAllConvLists</a></div><div class="ttdeci">#define ValidateAllConvLists()</div><div class="ttdef"><b>Definition:</b> <a href="a00062_source.html#l00101">connect.c:101</a></div></div>
<div class="ttc" id="aa00371_html_a41f433389f20db57f042022a662e96de"><div class="ttname"><a href="a00371.html#a41f433389f20db57f042022a662e96de">RIP_WARNING</a></div><div class="ttdeci">#define RIP_WARNING</div><div class="ttdef"><b>Definition:</b> <a href="a00371_source.html#l00029">winerrp.h:29</a></div></div>
<div class="ttc" id="aa00086_html_a3b5310e2dd6b3c42cb13fa51a1b4e254"><div class="ttname"><a href="a00086.html#a3b5310e2dd6b3c42cb13fa51a1b4e254">LeaveDDECrit</a></div><div class="ttdeci">#define LeaveDDECrit</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00041">ddemlcli.h:41</a></div></div>
<div class="ttc" id="aa00086_html_af24a0b4a7f0b1cafbdaa4f3dfa57248e"><div class="ttname"><a href="a00086.html#af24a0b4a7f0b1cafbdaa4f3dfa57248e">HTYPE_CLIENT_CONVERSATION</a></div><div class="ttdeci">#define HTYPE_CLIENT_CONVERSATION</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00097">ddemlcli.h:97</a></div></div>
<div class="ttc" id="aa01821_html_ad0b56899c2df27096898ccce24547723"><div class="ttname"><a href="a01821.html#ad0b56899c2df27096898ccce24547723">tagXACT_INFO::gaItem</a></div><div class="ttdeci">GATOM gaItem</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00118">ddemlcli.h:118</a></div></div>
<div class="ttc" id="aa00062_html_ad714b9dfd0100246ad2ae128fec95f98"><div class="ttname"><a href="a00062.html#ad714b9dfd0100246ad2ae128fec95f98">ConnectConv</a></div><div class="ttdeci">PCL_CONV_INFO ConnectConv(PCL_INSTANCE_INFO pcii, LATOM laService, LATOM laTopic, HWND hwndTarget, HWND hwndSkip, PCONVCONTEXT pCC, HCONVLIST hConvList, DWORD clst)</div><div class="ttdef"><b>Definition:</b> <a href="a00062_source.html#l00605">connect.c:605</a></div></div>
<div class="ttc" id="aa00086_html_a3dc39629249824029407d9b5954b34f5"><div class="ttname"><a href="a00086.html#a3dc39629249824029407d9b5954b34f5">PCL_CONV_INFO</a></div><div class="ttdeci">struct tagCL_CONV_INFO * PCL_CONV_INFO</div></div>
<div class="ttc" id="aa01821_html_a05a65f9f292bfebcf667b325200292f0"><div class="ttname"><a href="a01821.html#a05a65f9f292bfebcf667b325200292f0">tagXACT_INFO::pcoi</a></div><div class="ttdeci">struct tagCONV_INFO * pcoi</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00114">ddemlcli.h:114</a></div></div>
<div class="ttc" id="aa01825_html_aedf49a5424d4d9ad2cf1817a726c165f"><div class="ttname"><a href="a01825.html#aedf49a5424d4d9ad2cf1817a726c165f">tagADVISE_LINK::wType</a></div><div class="ttdeci">WORD wType</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00141">ddemlcli.h:141</a></div></div>
<div class="ttc" id="aa01849_html_ae2aa0a1e8bf12852487eb7c761fc1e46"><div class="ttname"><a href="a01849.html#ae2aa0a1e8bf12852487eb7c761fc1e46">tagCL_CONV_INFO::hwndReconnect</a></div><div class="ttdeci">HWND hwndReconnect</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00224">ddemlcli.h:224</a></div></div>
<div class="ttc" id="aa01845_html_a9a66c3e7ae56e5adf407e16f01a76676"><div class="ttname"><a href="a01845.html#a9a66c3e7ae56e5adf407e16f01a76676">tagCONV_INFO::laServiceRequested</a></div><div class="ttdeci">LATOM laServiceRequested</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00212">ddemlcli.h:212</a></div></div>
<div class="ttc" id="aa00086_html_a6e665e4ec7d374d1438e7970fb02d47c"><div class="ttname"><a href="a00086.html#a6e665e4ec7d374d1438e7970fb02d47c">BestSetLastDDEMLError</a></div><div class="ttdeci">VOID BestSetLastDDEMLError(DWORD error)</div><div class="ttdef"><b>Definition:</b> <a href="a00155_source.html#l00336">handles.c:336</a></div></div>
<div class="ttc" id="aa00086_html_ad5b8ef18960b493b8123fdce517dc30f"><div class="ttname"><a href="a00086.html#ad5b8ef18960b493b8123fdce517dc30f">ValidateCHandle</a></div><div class="ttdeci">DWORD ValidateCHandle(HANDLE h, DWORD ExpectedType, DWORD ExpectedInstance)</div><div class="ttdef"><b>Definition:</b> <a href="a00155_source.html#l00204">handles.c:204</a></div></div>
<div class="ttc" id="aa01809_html_ad285e3a598920b58d4232596cd0a8460"><div class="ttname"><a href="a01809.html#ad285e3a598920b58d4232596cd0a8460">tagINIT_ENUM::hwndClient</a></div><div class="ttdeci">HWND hwndClient</div><div class="ttdef"><b>Definition:</b> <a href="a00062_source.html#l00121">connect.c:121</a></div></div>
<div class="ttc" id="aa00086_html_a0660b85f18aadfcf2c8dead0124a746a"><div class="ttname"><a href="a00086.html#a0660b85f18aadfcf2c8dead0124a746a">HTYPE_ZOMBIE_CONVERSATION</a></div><div class="ttdeci">#define HTYPE_ZOMBIE_CONVERSATION</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00101">ddemlcli.h:101</a></div></div>
<div class="ttc" id="aa01841_html_a4adee47baa975d0bf7a9293f02dd1f8d"><div class="ttname"><a href="a01841.html#a4adee47baa975d0bf7a9293f02dd1f8d">tagCL_INSTANCE_INFO::LastError</a></div><div class="ttdeci">DWORD LastError</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00185">ddemlcli.h:185</a></div></div>
<div class="ttc" id="aa00062_html_a4b09979005f69e3a080c39d654040eb5"><div class="ttname"><a href="a00062.html#a4b09979005f69e3a080c39d654040eb5">InitiateEnumerationProc</a></div><div class="ttdeci">BOOL InitiateEnumerationProc(HWND hwndTarget, PINIT_ENUM pie)</div><div class="ttdef"><b>Definition:</b> <a href="a00062_source.html#l00782">connect.c:782</a></div></div>
<div class="ttc" id="aa01845_html_a429252b194add2d95e67ac853993020b"><div class="ttname"><a href="a01845.html#a429252b194add2d95e67ac853993020b">tagCONV_INFO::cLocks</a></div><div class="ttdeci">int cLocks</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00219">ddemlcli.h:219</a></div></div>
<div class="ttc" id="aa01829_html_a9628a1bcae16966c1c4ccb1ac4428838"><div class="ttname"><a href="a01829.html#a9628a1bcae16966c1c4ccb1ac4428838">tagDDE_MESSAGE_QUEUE::next</a></div><div class="ttdeci">struct tagDDE_MESSAGE_QUEUE * next</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00151">ddemlcli.h:151</a></div></div>
<div class="ttc" id="aa01845_html_aed1dfd4816a13b9e20712ad7049e1fcc"><div class="ttname"><a href="a01845.html#aed1dfd4816a13b9e20712ad7049e1fcc">tagCONV_INFO::hConv</a></div><div class="ttdeci">HCONV hConv</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00206">ddemlcli.h:206</a></div></div>
<div class="ttc" id="aa00086_html_ad33b600c0405aee1e67d56ddd3e83c42"><div class="ttname"><a href="a00086.html#ad33b600c0405aee1e67d56ddd3e83c42">IncLocalAtomCount</a></div><div class="ttdeci">LATOM IncLocalAtomCount(LATOM la)</div><div class="ttdef"><b>Definition:</b> <a href="a00164_source.html#l00516">hsz.c:516</a></div></div>
<div class="ttc" id="aa00086_html_a21a58dc05e3852357f94fda6251ceef6"><div class="ttname"><a href="a00086.html#a21a58dc05e3852357f94fda6251ceef6">DeleteLinkCount</a></div><div class="ttdeci">VOID DeleteLinkCount(PCL_INSTANCE_INFO pcii, PLINK_COUNT pLinkCountDelete)</div><div class="ttdef"><b>Definition:</b> <a href="a00260_source.html#l00121">util.c:121</a></div></div>
<div class="ttc" id="aa01825_html_ac6ac629d505432bedeb5cb3b7123ac98"><div class="ttname"><a href="a01825.html#ac6ac629d505432bedeb5cb3b7123ac98">tagADVISE_LINK::wFmt</a></div><div class="ttdeci">WORD wFmt</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00140">ddemlcli.h:140</a></div></div>
<div class="ttc" id="aa01845_html_a5234fbd6988274cd28565970f54a110c"><div class="ttname"><a href="a01845.html#a5234fbd6988274cd28565970f54a110c">tagCONV_INFO::laService</a></div><div class="ttdeci">LATOM laService</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00207">ddemlcli.h:207</a></div></div>
<div class="ttc" id="aa01845_html_a037642095df06ec39ad1a904cc1f7c30"><div class="ttname"><a href="a01845.html#a037642095df06ec39ad1a904cc1f7c30">tagCONV_INFO::laTopic</a></div><div class="ttdeci">LATOM laTopic</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00208">ddemlcli.h:208</a></div></div>
<div class="ttc" id="aa00086_html_a8c66aaa58bd4b338d4f04ae07d4fb23a"><div class="ttname"><a href="a00086.html#a8c66aaa58bd4b338d4f04ae07d4fb23a">EnterDDECrit</a></div><div class="ttdeci">#define EnterDDECrit</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00040">ddemlcli.h:40</a></div></div>
<div class="ttc" id="aa01821_html_a153d6c3a56fb1f036b945c7eb58bfe27"><div class="ttname"><a href="a01821.html#a153d6c3a56fb1f036b945c7eb58bfe27">tagXACT_INFO::next</a></div><div class="ttdeci">struct tagXACT_INFO * next</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00113">ddemlcli.h:113</a></div></div>
<div class="ttc" id="aa01845_html_ab633a373034405937a22e9d2c0cbf4ad"><div class="ttname"><a href="a01845.html#ab633a373034405937a22e9d2c0cbf4ad">tagCONV_INFO::hwndPartner</a></div><div class="ttdeci">HWND hwndPartner</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00209">ddemlcli.h:209</a></div></div>
<div class="ttc" id="aa00086_html_a4392e7f891757523239a35111e99353f"><div class="ttname"><a href="a00086.html#a4392e7f891757523239a35111e99353f">MONLINK</a></div><div class="ttdeci">#define MONLINK(pcii, fEst, fNoD, aS, aT, aI, wFmt, fSvr, hConvS, hConvC)</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00025">ddemlcli.h:25</a></div></div>
<div class="ttc" id="aa00086_html_ac204a6b912ffd4404bb455e0f78d527e"><div class="ttname"><a href="a00086.html#ac204a6b912ffd4404bb455e0f78d527e">PCONV_INFO</a></div><div class="ttdeci">struct tagCONV_INFO * PCONV_INFO</div></div>
<div class="ttc" id="aa00086_html_ac22685a19cc50d86b3c1ab6cf0fa322a"><div class="ttname"><a href="a00086.html#ac22685a19cc50d86b3c1ab6cf0fa322a">DDEMLReAlloc</a></div><div class="ttdeci">#define DDEMLReAlloc(p, cb)</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00013">ddemlcli.h:13</a></div></div>
<div class="ttc" id="aa00086_html_a49f0ae82e6897f4c6208f18e7c04d787"><div class="ttname"><a href="a00086.html#a49f0ae82e6897f4c6208f18e7c04d787">DestroyHandle</a></div><div class="ttdeci">DWORD DestroyHandle(HANDLE h)</div><div class="ttdef"><b>Definition:</b> <a href="a00155_source.html#l00137">handles.c:137</a></div></div>
<div class="ttc" id="aa00086_html_ace76c837c4a69e5da55f6a99429eb8d9"><div class="ttname"><a href="a00086.html#ace76c837c4a69e5da55f6a99429eb8d9">GetHandleData</a></div><div class="ttdeci">DWORD GetHandleData(HANDLE h)</div><div class="ttdef"><b>Definition:</b> <a href="a00155_source.html#l00165">handles.c:165</a></div></div>
<div class="ttc" id="aa01821_html_ac6ac629d505432bedeb5cb3b7123ac98"><div class="ttname"><a href="a01821.html#ac6ac629d505432bedeb5cb3b7123ac98">tagXACT_INFO::wFmt</a></div><div class="ttdeci">WORD wFmt</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00119">ddemlcli.h:119</a></div></div>
<div class="ttc" id="aa00086_html_acf65a97e9c6a58c917c8a0c1a4209c03"><div class="ttname"><a href="a00086.html#acf65a97e9c6a58c917c8a0c1a4209c03">LocalToGlobalAtom</a></div><div class="ttdeci">GATOM LocalToGlobalAtom(LATOM la)</div><div class="ttdef"><b>Definition:</b> <a href="a00164_source.html#l00438">hsz.c:438</a></div></div>
<div class="ttc" id="aa00020_html_ad760da1dd81d9e84dee607d18edfde39"><div class="ttname"><a href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a></div><div class="ttdeci">PSERVERINFO gpsi</div><div class="ttdef"><b>Definition:</b> <a href="a00020_source.html#l00039">clglobal.c:39</a></div></div>
<div class="ttc" id="aa01845_html_abd6ddc0ca811ba45f97e1052e24c92f7"><div class="ttname"><a href="a01845.html#abd6ddc0ca811ba45f97e1052e24c92f7">tagCONV_INFO::aLinks</a></div><div class="ttdeci">PADVISE_LINK aLinks</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00217">ddemlcli.h:217</a></div></div>
<div class="ttc" id="aa00086_html_a719adb0898e764e3a14eaaad50bf7606"><div class="ttname"><a href="a00086.html#a719adb0898e764e3a14eaaad50bf7606">XIF_ABANDONED</a></div><div class="ttdeci">#define XIF_ABANDONED</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00130">ddemlcli.h:130</a></div></div>
<div class="ttc" id="aa00086_html_a87d38bfb89ae342e462db838beab43cf"><div class="ttname"><a href="a00086.html#a87d38bfb89ae342e462db838beab43cf">CreateHandle</a></div><div class="ttdeci">HANDLE CreateHandle(DWORD dwData, DWORD type, DWORD inst)</div><div class="ttdef"><b>Definition:</b> <a href="a00155_source.html#l00075">handles.c:75</a></div></div>
<div class="ttc" id="aa01857_html"><div class="ttname"><a href="a01857.html">tagCONVLIST</a></div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00232">ddemlcli.h:232</a></div></div>
<div class="ttc" id="aa00086_html_af4a5ecbacfdd6845c5c37342f333ace4"><div class="ttname"><a href="a00086.html#af4a5ecbacfdd6845c5c37342f333ace4">CheckDDECritOut</a></div><div class="ttdeci">#define CheckDDECritOut</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00051">ddemlcli.h:51</a></div></div>
<div class="ttc" id="aa01841_html"><div class="ttname"><a href="a01841.html">tagCL_INSTANCE_INFO</a></div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00175">ddemlcli.h:175</a></div></div>
<div class="ttc" id="aa00086_html_afa268e07586fb59f8251f975f4b5328e"><div class="ttname"><a href="a00086.html#afa268e07586fb59f8251f975f4b5328e">MONCONV</a></div><div class="ttdeci">#define MONCONV(pcoi, fConn)</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00030">ddemlcli.h:30</a></div></div>
<div class="ttc" id="aa00086_html_a0924c97489b4d0575965f05d497a7142"><div class="ttname"><a href="a00086.html#a0924c97489b4d0575965f05d497a7142">SetConvContext</a></div><div class="ttdeci">VOID SetConvContext(HWND hwnd, LONG *pl)</div><div class="ttdef"><b>Definition:</b> <a href="a00272_source.html#l00385">xact.c:385</a></div></div>
<div class="ttc" id="aa00362_html_ae0ffccbc3a04fe063da309751a517b62"><div class="ttname"><a href="a00362.html#ae0ffccbc3a04fe063da309751a517b62">NtUserDdeSetQualityOfService</a></div><div class="ttdeci">BOOL NtUserDdeSetQualityOfService(IN HWND hwndClient, IN CONST SECURITY_QUALITY_OF_SERVICE *pqosNew, IN PSECURITY_QUALITY_OF_SERVICE pqosPrev OPTIONAL)</div><div class="ttdef"><b>Definition:</b> <a href="a03614_source.html#l03085">kernel/ntstubs.c:3085</a></div></div>
<div class="ttc" id="aa00086_html_a2a5756b0e255d0398efa69c2d3fa9efa"><div class="ttname"><a href="a00086.html#a2a5756b0e255d0398efa69c2d3fa9efa">XIF_SYNCHRONOUS</a></div><div class="ttdeci">#define XIF_SYNCHRONOUS</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00128">ddemlcli.h:128</a></div></div>
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_885cc87fac2d91e269af0a5a959fa5f6.html">E:</a></li><li class="navelem"><a class="el" href="dir_4e091ed8704426a7a4980368ba259fde.html">git</a></li><li class="navelem"><a class="el" href="dir_cd70cb5eb491250157f2d55d3ff4b13e.html">backup</a></li><li class="navelem"><a class="el" href="dir_ba2b673b566ba104b956abdc6dec0552.html">org</a></li><li class="navelem"><a class="el" href="dir_5bb0003d7907b45051943541418399f5.html">ntuser</a></li><li class="navelem"><a class="el" href="dir_caf01b281dbc7d7ffe410ecf117b6142.html">client</a></li><li class="navelem"><a class="el" href="a00062.html">connect.c</a></li>
    <li class="footer">制作者
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.17 </li>
  </ul>
</div>
</body>
</html>
